summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorEddy Jansson <eddy@klopper.net>2021-07-24 15:20:37 (GMT)
committerEddy Jansson <eddy@klopper.net>2021-07-24 15:20:37 (GMT)
commiteba110ad5b52dcd7f8cfcfddae03cc7fb9207781 (patch)
tree09e0c4fa8bed859bbe197a6f6e214679333ecd1c /programs
parentc240126068b780d927c126bb6a16cdeb92c35d77 (diff)
downloadlz4-eba110ad5b52dcd7f8cfcfddae03cc7fb9207781.zip
lz4-eba110ad5b52dcd7f8cfcfddae03cc7fb9207781.tar.gz
lz4-eba110ad5b52dcd7f8cfcfddae03cc7fb9207781.tar.bz2
Print target directories during 'make install'.
This takes #975 to its logical conclusion.
Diffstat (limited to 'programs')
-rw-r--r--programs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile
index f471109..3ac17c0 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -164,13 +164,13 @@ MAN1DIR ?= $(mandir)/man1
man1dir ?= $(MAN1DIR)
install: lz4
- @echo Installing binaries
+ @echo Installing binaries in $(DESTDIR)$(bindir)
$(INSTALL_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
$(INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(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
+ @echo Installing man pages in $(DESTDIR)$(man1dir)
$(INSTALL_DATA) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
$(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4c.1
$(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4cat.1