diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-04-24 20:23:05 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-04-24 20:23:05 +0300 |
commit | 22ba3b0b5043fa481903482ce85015fe775939e5 (patch) | |
tree | 9e86fbc6880dd9329f3779fa30a28abad27682a1 /src/lzma | |
parent | Fixed a bug in command line option parsing. (diff) | |
download | xz-22ba3b0b5043fa481903482ce85015fe775939e5.tar.xz |
Make unlzma and lzcat symlinks.
Diffstat (limited to 'src/lzma')
-rw-r--r-- | src/lzma/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lzma/Makefile.am b/src/lzma/Makefile.am index 84e4d34d..cd8bb771 100644 --- a/src/lzma/Makefile.am +++ b/src/lzma/Makefile.am @@ -61,3 +61,15 @@ lzma_LDADD = \ if COND_GNULIB lzma_LDADD += @top_builddir@/lib/libgnu.a endif + + +## Create symlinks for unlzma and lzcat: +install-exec-hook: + cd $(DESTDIR)$(bindir) && \ + rm -f unlzma lzcat && \ + $(LN_S) lzma unlzma && \ + $(LN_S) lzma lzcat + +uninstall-hook: + cd $(DESTDIR)$(bindir) && \ + rm -f unlzma lzcat |