Skip to contentSkip to conversation

master - makefiles: quite install

PATCH Zdenek Kabelac 1 participant 1 message Dec 17, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f619cac598e9236dd16c7fd8d3465b981c4a4648
Commit:        f619cac598e9236dd16c7fd8d3465b981c4a4648
Parent:        a63015442e8bf3893e8531b209057a44158e438b
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Dec 15 01:47:24 2018 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Dec 17 10:36:52 2018 +0100

makefiles: quite install

---
 conf/Makefile.in    |    9 +++++----
 scripts/Makefile.in |    5 +++--
 2 files changed, 8 insertions(+), 6 deletions(-)
conf/Makefile.in +5 -4
index e906835..dc74747 100644
@@ -39,18 +39,19 @@ generate:
 install_conf: $(CONFSRC)
 	@if [ ! -e $(confdir)/$(CONFDEST) ]; then \
 		echo "$(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST)"; \
-		$(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST); \
+		$(Q) $(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST); \
 	fi
 
 install_localconf: $(CONFLOCAL)
 	@if [ ! -e $(confdir)/$(CONFLOCAL) ]; then \
 		echo "$(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL)"; \
-		$(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL); \
+		$(Q) $(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL); \
 	fi
 
 install_profiles: $(PROFILES)
-	$(INSTALL_DIR) $(profiledir)
-	$(INSTALL_DATA) $(PROFILES) $(profiledir)/
+	@echo "    [INSTALL] $<"
+	$(Q) $(INSTALL_DIR) $(profiledir)
+	$(Q) $(INSTALL_DATA) $(PROFILES) $(profiledir)/
 
 install_lvm2: install_conf install_localconf install_profiles
 
scripts/Makefile.in +3 -2
index 99acfbc..6c8546d 100644
@@ -124,8 +124,9 @@ install_systemd_units:	install_dbus_service
 endif
 
 install_tmpfiles_configuration:
-	$(INSTALL_DIR) $(tmpfiles_dir)
-	$(INSTALL_DATA) lvm2_tmpfiles_red_hat.conf $(tmpfiles_dir)/lvm2.conf
+	@echo "    [INSTALL] $<"
+	$(Q) $(INSTALL_DIR) $(tmpfiles_dir)
+	$(Q) $(INSTALL_DATA) lvm2_tmpfiles_red_hat.conf $(tmpfiles_dir)/lvm2.conf
 
 DISTCLEAN_TARGETS += \
 	blkdeactivate.sh \