aboutsummaryrefslogtreecommitdiff
path: root/src/lzma/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-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