Make unlzma and lzcat symlinks.

This commit is contained in:
Lasse Collin 2008-04-24 20:23:05 +03:00
parent 17c36422d4
commit 22ba3b0b50
1 changed files with 12 additions and 0 deletions

View File

@ -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