changeset 25:e277ede19b10

Set up manpage links in install-data-hook Man pages are installed by install-data, not install-exec
author Simon Horman <horms@verge.net.au>
date Tue, 27 Jan 2009 14:27:49 +1100
parents bbaec338e783
children 03646d02bec0
files pbs/Makefile.am
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pbs/Makefile.am	Tue Jan 27 13:24:54 2009 +1100
+++ b/pbs/Makefile.am	Tue Jan 27 14:27:49 2009 +1100
@@ -50,6 +50,10 @@
 	for i in daemon list insert remove setenv purge; do \
                 (cd $(DESTDIR)$(sbindir) && rm -f perdition-pbs-$$i && \
                         ln -sf perdition-pbs perdition-pbs-$$i); \
+        done
+
+install-data-hook:
+	for i in daemon list insert remove setenv purge; do \
                 (cd $(DESTDIR)$(mandir)/man8 && rm -f perdition-pbs-$$i.8 && \
                         ln -sf perdition-pbs.8 perdition-pbs-$$i.8); \
         done