From: Lasse Collin Date: Thu, 24 Apr 2008 17:23:05 +0000 (+0300) Subject: Make unlzma and lzcat symlinks. X-Git-Tag: v4.999.3alpha~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22ba3b0b5043fa481903482ce85015fe775939e5;p=xz Make unlzma and lzcat symlinks. --- 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