diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-06-04 23:42:12 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-06-04 23:42:12 +0300 |
commit | 8ed156ce894966103e895aa08f2a9fb912f6fad5 (patch) | |
tree | c84a6333ca71ba8877bf87950824f6007915d9b4 /src/xzdec/Makefile.am | |
parent | Harmonized xzdec --memory with xz --memory and made (diff) | |
download | xz-8ed156ce894966103e895aa08f2a9fb912f6fad5.tar.xz |
Added xzdec man page.
Diffstat (limited to 'src/xzdec/Makefile.am')
-rw-r--r-- | src/xzdec/Makefile.am | 11 |
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 |