projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c3642
)
Make unlzma and lzcat symlinks.
author
Lasse Collin
<lasse.collin@tukaani.org>
Thu, 24 Apr 2008 17:23:05 +0000
(20:23 +0300)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Thu, 24 Apr 2008 17:23:05 +0000
(20:23 +0300)
src/lzma/Makefile.am
patch
|
blob
|
history
diff --git
a/src/lzma/Makefile.am
b/src/lzma/Makefile.am
index
84e4d34
..
cd8bb77
100644
(file)
--- 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