diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2021-07-24 22:44:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 22:44:40 (GMT) |
commit | 4de56b3da3f709e61301d65cf67e068bc650d9eb (patch) | |
tree | 6f58bc4340bea48209d42ecfa20b5232f3e821a3 | |
parent | 7be503964858691951320f13a9b5d28e450e3fad (diff) | |
parent | eba110ad5b52dcd7f8cfcfddae03cc7fb9207781 (diff) | |
download | lz4-4de56b3da3f709e61301d65cf67e068bc650d9eb.zip lz4-4de56b3da3f709e61301d65cf67e068bc650d9eb.tar.gz lz4-4de56b3da3f709e61301d65cf67e068bc650d9eb.tar.bz2 |
Merge pull request #1012 from eloj/print-install-dirs
Print target directories during 'make install'.
-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 45f33e4..5e4c711 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -181,7 +181,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 @@ -199,7 +199,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 |