By defining rootprefix= we avoid a double slash in $systemdsystemunitdir and other variables. This fixes a regression introduced in1c2c7c6cb3where the variables using rootprefix=/ would start with a double slash. This should be interpreted the same, but is certainly ugly. The rootprefix variable was added to systemd.pc in1c2c7c6cb3, so there is no question of backwards compatiblity. If people try to "override" the prefix and specify --define-variable=rootprefix=/, they will get a double slash, which should be OK, and is the same as --define-variable=rootprefix=/something/, which also results in a double slash somewhere in the strings.
43 lines
1.9 KiB
Plaintext
43 lines
1.9 KiB
Plaintext
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
prefix=@prefix@
|
|
rootprefix=@rootprefix_noslash@
|
|
sysconfdir=@sysconfdir@
|
|
systemdutildir=${rootprefix}/lib/systemd
|
|
systemdsystemunitdir=${rootprefix}/lib/systemd/system
|
|
systemdsystempresetdir=${rootprefix}/lib/systemd/system-preset
|
|
systemduserunitdir=${prefix}/lib/systemd/user
|
|
systemduserpresetdir=${prefix}/lib/systemd/user-preset
|
|
systemdsystemconfdir=${sysconfdir}/systemd/system
|
|
systemduserconfdir=${sysconfdir}/systemd/user
|
|
systemdsystemunitpath=${systemdsystemconfdir}:/etc/systemd/system:/run/systemd/system:/usr/local/lib/systemd/system:${systemdsystemunitdir}:/usr/lib/systemd/system:/lib/systemd/system
|
|
systemduserunitpath=${systemduserconfdir}:/etc/systemd/user:/run/systemd/user:/usr/local/lib/systemd/user:/usr/local/share/systemd/user:${systemduserunitdir}:/usr/lib/systemd/user:/usr/share/systemd/user
|
|
systemdsystemgeneratordir=${rootprefix}/lib/systemd/system-generators
|
|
systemdusergeneratordir=${prefix}/lib/systemd/user-generators
|
|
systemdsleepdir=${rootprefix}/lib/systemd/system-sleep
|
|
systemdshutdowndir=${rootprefix}/lib/systemd/system-shutdown
|
|
tmpfilesdir=${prefix}/lib/tmpfiles.d
|
|
sysusersdir=${prefix}/lib/sysusers.d
|
|
sysctldir=${prefix}/lib/sysctl.d
|
|
binfmtdir=${prefix}/lib/binfmt.d
|
|
modulesloaddir=${prefix}/lib/modules-load.d
|
|
catalogdir=${prefix}/lib/systemd/catalog
|
|
systemuidmax=@systemuidmax@
|
|
systemgidmax=@systemgidmax@
|
|
dynamicuidmin=@dynamicuidmin@
|
|
dynamicuidmax=@dynamicuidmax@
|
|
containeruidbasemin=@containeruidbasemin@
|
|
containeruidbasemax=@containeruidbasemax@
|
|
|
|
Name: systemd
|
|
Description: systemd System and Service Manager
|
|
URL: @PROJECT_URL@
|
|
Version: @PROJECT_VERSION@
|