diff options
author | Eddy Jansson <eddy@klopper.net> | 2021-07-24 15:20:37 (GMT) |
---|---|---|
committer | Eddy Jansson <eddy@klopper.net> | 2021-07-24 15:20:37 (GMT) |
commit | eba110ad5b52dcd7f8cfcfddae03cc7fb9207781 (patch) | |
tree | 09e0c4fa8bed859bbe197a6f6e214679333ecd1c | |
parent | c240126068b780d927c126bb6a16cdeb92c35d77 (diff) | |
download | lz4-eba110ad5b52dcd7f8cfcfddae03cc7fb9207781.zip lz4-eba110ad5b52dcd7f8cfcfddae03cc7fb9207781.tar.gz lz4-eba110ad5b52dcd7f8cfcfddae03cc7fb9207781.tar.bz2 |
Print target directories during 'make install'.
This takes #975 to its logical conclusion.
-rw-r--r-- | lib/Makefile | 4 | ||||
-rw-r--r-- | programs/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile index 344120a..904e5e0 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -180,7 +180,7 @@ liblz4.pc: liblz4.pc.in Makefile install: lib liblz4.pc $(INSTALL_DIR) $(DESTDIR)$(pkgconfigdir)/ $(DESTDIR)$(includedir)/ $(DESTDIR)$(libdir)/ $(DESTDIR)$(bindir)/ $(INSTALL_DATA) liblz4.pc $(DESTDIR)$(pkgconfigdir)/ - @echo Installing libraries + @echo Installing libraries in $(DESTDIR)$(libdir) ifeq ($(BUILD_STATIC),yes) $(INSTALL_DATA) liblz4.a $(DESTDIR)$(libdir)/liblz4.a $(INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h @@ -198,7 +198,7 @@ install: lib liblz4.pc $(LN_SF) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT) endif endif - @echo Installing headers in $(includedir) + @echo Installing headers in $(DESTDIR)$(includedir) $(INSTALL_DATA) lz4.h $(DESTDIR)$(includedir)/lz4.h $(INSTALL_DATA) lz4hc.h $(DESTDIR)$(includedir)/lz4hc.h $(INSTALL_DATA) lz4frame.h $(DESTDIR)$(includedir)/lz4frame.h 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 |