summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-07-01 21:23:21 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-07-01 21:23:21 +0400
commit23b1c1b9593b957a2c0192958306d4b3e288bda9 (patch)
tree5f6f4201315ce0546c1d3d2564a7fa2e4c306770
parentee8756e7cb5e0cffb5f14350e5e0d493d1f7008e (diff)
downloaddctrl-tools-23b1c1b9593b957a2c0192958306d4b3e288bda9.tar.gz
Use install-data-hook for man pages
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 6a75d09..b66136e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,6 +24,7 @@ install-exec-hook:
for a in $(GREP_ALIASES); do \
rm -f $$a; $(LN_S) grep-dctrl $$a; \
done
+install-data-hook:
cd $(DESTDIR)$(mandir)/man1 && \
for a in $(GREP_ALIASES); do \
rm -f $$a.1; $(LN_S) grep-dctrl.1 $$a.1; \