From 61fbbab8697ec62cdedc08efdbb8da1c875ce2a1 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 5 Apr 2011 02:19:42 +0200 Subject: [PATCH] build-sys: always place user units in /usr/lib/systemd ./configure --libexecdir=/usr/lib --- Makefile.am | 10 +++++----- TODO | 2 -- autogen.sh | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index efc969cc..ca027b62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,7 @@ bashcompletiondir=$(sysconfdir)/bash_completion.d # Our own, non-special dirs pkgsysconfdir=$(sysconfdir)/systemd -userunitdir=$(pkglibdir)/user +userunitdir=$(pkglibexecdir)/user tmpfilesdir=$(sysconfdir)/tmpfiles.d usergeneratordir=$(pkglibexecdir)/user-generators @@ -145,7 +145,7 @@ rootlibexec_PROGRAMS = \ systemd-ac-power \ systemd-detect-virt \ systemd-sysctl \ - systemd-binfmt + systemd-binfmt systemgenerator_PROGRAMS = \ systemd-getty-generator @@ -573,8 +573,8 @@ MANPAGES = \ man/locale.conf.5 \ man/os-release.5 \ man/modules-load.d.5 \ - man/binfmt.d.5 \ - man/sysctl.d.5 + man/binfmt.d.5 \ + man/sysctl.d.5 MANPAGES_ALIAS = \ man/reboot.8 \ @@ -1130,7 +1130,7 @@ SED_PROCESS = \ -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ -e 's,@pkgdatadir\@,$(pkgdatadir),g' \ - -e 's,@pkglibdir\@,$(pkglibdir),g' \ + -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \ -e 's,@systemunitdir\@,$(systemunitdir),g' \ -e 's,@userunitdir\@,$(userunitdir),g' \ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \ diff --git a/TODO b/TODO index 0297a177..c8bf2294 100644 --- a/TODO +++ b/TODO @@ -26,8 +26,6 @@ F15: * reload-or-try-restart man page uses word "fail" -* Move units from lib64 to lib - Features: * write blog stories about: diff --git a/autogen.sh b/autogen.sh index 74f814d2..826d9b0d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -66,7 +66,7 @@ else run_versioned automake "$AM_VERSION" --copy --foreign --add-missing if [ "x$1" != "xac" ]; then - CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --with-rootdir= "$@" + CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --with-rootdir= --libexecdir=/usr/lib "$@" make clean fi fi -- 2.39.5