diff options
Diffstat (limited to 'src')
-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 |