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-10 16:00:55 +0400
commit4dc77477167026e259a14423ff3ae87c35ca3a7c (patch)
tree5f6f4201315ce0546c1d3d2564a7fa2e4c306770
parent368812dc033d55609834cad2f7dd5e6a458019ef (diff)
downloaddctrl-tools-4dc77477167026e259a14423ff3ae87c35ca3a7c.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; \