diff options
author | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2014-03-23 11:15:37 (GMT) |
---|---|---|
committer | yann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd> | 2014-03-23 11:15:37 (GMT) |
commit | 848fdf3c15e6e7c2a24a868ace02dc3180f5275c (patch) | |
tree | d379e2f07c92e4b4cdeeeaf540c35631c384785c /programs/Makefile | |
parent | a9d8640c1f3898cd47eb1faf22db013e8b9911db (diff) | |
download | lz4-848fdf3c15e6e7c2a24a868ace02dc3180f5275c.zip lz4-848fdf3c15e6e7c2a24a868ace02dc3180f5275c.tar.gz lz4-848fdf3c15e6e7c2a24a868ace02dc3180f5275c.tar.bz2 |
Added : lz4cat utility for posx systems
OS-X compatible dynamic library, thanks to Jan Stepien
corrected : relative symbolic link for versioned library
git-svn-id: https://lz4.googlecode.com/svn/trunk@115 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/programs/Makefile b/programs/Makefile index 868c5fb..54a19cf 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -86,11 +86,13 @@ ifneq (,$(filter $(shell uname),Linux Darwin)) install: lz4 lz4c @install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/ @install -m 755 lz4 $(DESTDIR)$(BINDIR)/lz4 + @ln -s $(DESTDIR)$(BINDIR)/lz4 $(DESTDIR)$(BINDIR)/lz4cat @install -m 755 lz4c $(DESTDIR)$(BINDIR)/lz4c @install -m 644 lz4.1 $(DESTDIR)$(MANDIR)/lz4.1 @echo lz4 installation completed uninstall: + rm -f $(DESTDIR)$(BINDIR)/lz4cat [ -x $(DESTDIR)$(BINDIR)/lz4 ] && rm -f $(DESTDIR)$(BINDIR)/lz4 [ -x $(DESTDIR)$(BINDIR)/lz4c ] && rm -f $(DESTDIR)$(BINDIR)/lz4c [ -f $(DESTDIR)$(MANDIR)/lz4.1 ] && rm -f $(DESTDIR)$(MANDIR)/lz4.1 |