aboutsummaryrefslogtreecommitdiff
path: root/src/lzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-04-24 20:23:05 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-04-24 20:23:05 +0300
commit22ba3b0b5043fa481903482ce85015fe775939e5 (patch)
tree9e86fbc6880dd9329f3779fa30a28abad27682a1 /src/lzma
parentFixed a bug in command line option parsing. (diff)
downloadxz-22ba3b0b5043fa481903482ce85015fe775939e5.tar.xz
Make unlzma and lzcat symlinks.
Diffstat (limited to 'src/lzma')
-rw-r--r--src/lzma/Makefile.am12
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