summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 5b17379..de5892c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -22,5 +22,11 @@ MAINTAINERCLEANFILES = \
.xml.8:
$(XMLTO) man $?
+install-data-hook:
+ -mkdir -p $(DESTDIR)$(mandir)/man8
+ -ln -s pm-action.8 $(DESTDIR)$(mandir)/man8/pm-suspend.8
+ -ln -s pm-action.8 $(DESTDIR)$(mandir)/man8/pm-hibernate.8
+ -ln -s pm-action.8 $(DESTDIR)$(mandir)/man8/pm-suspend-hybrid.8
+
clean-local :
rm -f *~