summaryrefslogtreecommitdiffstats
path: root/login-utils/Makefile.am
diff options
context:
space:
mode:
authorKarel Zak2009-07-04 00:39:08 +0200
committerKarel Zak2009-07-04 00:55:56 +0200
commit6ed7a96dfb17cfd8699db67b03735e2c01be9657 (patch)
treecff18210432a85d3f6b339b5880faedffda42091 /login-utils/Makefile.am
parentbuild-sys: reverse shlibs installation (diff)
downloadkernel-qcow2-util-linux-6ed7a96dfb17cfd8699db67b03735e2c01be9657.tar.gz
kernel-qcow2-util-linux-6ed7a96dfb17cfd8699db67b03735e2c01be9657.tar.xz
kernel-qcow2-util-linux-6ed7a96dfb17cfd8699db67b03735e2c01be9657.zip
build-sys: fix exec/data install hooks
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/Makefile.am')
-rw-r--r--login-utils/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/login-utils/Makefile.am b/login-utils/Makefile.am
index 5ed581b85..d91a5eb79 100644
--- a/login-utils/Makefile.am
+++ b/login-utils/Makefile.am
@@ -124,6 +124,8 @@ install-exec-hook::
cd $(DESTDIR)$(sbindir) && ln -sf initctl need
cd $(DESTDIR)$(sbindir) && ln -sf initctl display-services
cd $(DESTDIR)$(sbindir) && ln -sf initctl provide
+
+install-data-hook:
cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 need.8
cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 display-services.8
cd $(DESTDIR)$(mandir)/man8 && ln -sf initctl.8 provide.8