summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2020-12-01 00:07:44 (GMT)
committerGitHub <noreply@github.com>2020-12-01 00:07:44 (GMT)
commit07a2476fe61e0fc0b7e25f411b13619295479064 (patch)
tree6439f0cfce7de7266aaac7973660535c95a52335 /programs/Makefile
parent87a80acbe7872b9da7d56f7005ffd1b715e87c93 (diff)
parent165fdddc283571330eb2fed0e489ee11222dadbf (diff)
downloadlz4-07a2476fe61e0fc0b7e25f411b13619295479064.zip
lz4-07a2476fe61e0fc0b7e25f411b13619295479064.tar.gz
lz4-07a2476fe61e0fc0b7e25f411b13619295479064.tar.bz2
Merge pull request #959 from lz4/install_ln
install links over existing install
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 594be55..85840bd 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -163,9 +163,9 @@ install: lz4
@echo Installing binaries
@$(INSTALL_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
@$(INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
- @$(LN_S) lz4$(EXT) $(DESTDIR)$(bindir)/lz4c$(EXT)
- @$(LN_S) lz4$(EXT) $(DESTDIR)$(bindir)/lz4cat$(EXT)
- @$(LN_S) lz4$(EXT) $(DESTDIR)$(bindir)/unlz4$(EXT)
+ @$(LN_SF) lz4$(EXT) $(DESTDIR)$(bindir)/lz4c$(EXT)
+ @$(LN_SF) lz4$(EXT) $(DESTDIR)$(bindir)/lz4cat$(EXT)
+ @$(LN_SF) lz4$(EXT) $(DESTDIR)$(bindir)/unlz4$(EXT)
@echo Installing man pages
@$(INSTALL_DATA) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
@$(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4c.1