summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2021-09-21 12:25:18 -0400
committerSteve Dickson <steved@redhat.com>2021-09-23 11:39:07 -0400
commit9bd7e5814c38d2ac7ea218dbd8fa4dbfdf58f48a (patch)
tree0e1d4f5266c6f7251d5a16254c2e86c7cdd984b4 /systemd
parent191b610a74dc603cc966258813fc6b671e750ef5 (diff)
downloadnfs-utils-9bd7e5814c38d2ac7ea218dbd8fa4dbfdf58f48a.tar.gz
systemd generators: Install depending on location for systemd unit files
While it is possible to configure the systemd unit files directory on configure time with --with-systemd=unit-dir-path, this path is not taken into account for installing the systemd unit generators, as they are installed unconditionally in /usr/lib/systemd/system-generators. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd')
-rw-r--r--systemd/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/Makefile.am b/systemd/Makefile.am
index dd94f02..e7f5d81 100644
--- a/systemd/Makefile.am
+++ b/systemd/Makefile.am
@@ -53,7 +53,7 @@ man5_MANS = nfs.conf.man
man7_MANS = nfs.systemd.man
EXTRA_DIST = $(unit_files) $(man5_MANS) $(man7_MANS)
-generator_dir = /usr/lib/systemd/system-generators
+generator_dir = $(unitdir)/../system-generators
EXTRA_PROGRAMS = nfs-server-generator rpc-pipefs-generator
genexecdir = $(generator_dir)