aboutsummaryrefslogtreecommitdiff
path: root/src/xzdec/Makefile.am
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-06-04 23:42:12 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-06-04 23:42:12 +0300
commit8ed156ce894966103e895aa08f2a9fb912f6fad5 (patch)
treec84a6333ca71ba8877bf87950824f6007915d9b4 /src/xzdec/Makefile.am
parentHarmonized xzdec --memory with xz --memory and made (diff)
downloadxz-8ed156ce894966103e895aa08f2a9fb912f6fad5.tar.xz
Added xzdec man page.
Diffstat (limited to 'src/xzdec/Makefile.am')
-rw-r--r--src/xzdec/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xzdec/Makefile.am b/src/xzdec/Makefile.am
index 5ae4fa2c..dfc6f7ce 100644
--- a/src/xzdec/Makefile.am
+++ b/src/xzdec/Makefile.am
@@ -26,3 +26,14 @@ lzmadec_SOURCES = $(xzdec_SOURCES)
lzmadec_CPPFLAGS = $(xzdec_CPPFLAGS) -DLZMADEC
lzmadec_LDFLAGS = $(xzdec_LDFLAGS)
lzmadec_LDADD = $(xzdec_LDADD)
+
+dist_man_MANS = xzdec.1
+
+install-data-hook:
+ cd $(DESTDIR)$(mandir)/man1 && \
+ rm -f lzmadec.1 && \
+ $(LN_S) xzdec.1 lzmadec.1
+
+uninstall-hook:
+ cd $(DESTDIR)$(mandir)/man1 && \
+ rm -f lzmadec.1