1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Make unlzma and lzcat symlinks.

This commit is contained in:
Lasse Collin 2008-04-24 20:23:05 +03:00
parent 17c36422d4
commit 22ba3b0b50

View file

@ -61,3 +61,15 @@ lzma_LDADD = \
if COND_GNULIB if COND_GNULIB
lzma_LDADD += @top_builddir@/lib/libgnu.a lzma_LDADD += @top_builddir@/lib/libgnu.a
endif 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