From eba110ad5b52dcd7f8cfcfddae03cc7fb9207781 Mon Sep 17 00:00:00 2001 From: Eddy Jansson Date: Sat, 24 Jul 2021 17:20:37 +0200 Subject: Print target directories during 'make install'. This takes #975 to its logical conclusion. --- lib/Makefile | 4 ++-- 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 -- cgit v0.12