1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-10 05:18:36 +03:00

makefiles: quite install

(cherry picked from commit f619cac598)
This commit is contained in:
Zdenek Kabelac 2018-12-15 01:47:24 +01:00 committed by Marian Csontos
parent a9c810629c
commit 823c135711
2 changed files with 8 additions and 6 deletions

View File

@ -39,18 +39,19 @@ generate:
install_conf: $(CONFSRC) install_conf: $(CONFSRC)
@if [ ! -e $(confdir)/$(CONFDEST) ]; then \ @if [ ! -e $(confdir)/$(CONFDEST) ]; then \
echo "$(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST)"; \ echo "$(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST)"; \
$(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST); \ $(Q) $(INSTALL_WDATA) -D $< $(confdir)/$(CONFDEST); \
fi fi
install_localconf: $(CONFLOCAL) install_localconf: $(CONFLOCAL)
@if [ ! -e $(confdir)/$(CONFLOCAL) ]; then \ @if [ ! -e $(confdir)/$(CONFLOCAL) ]; then \
echo "$(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL)"; \ echo "$(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL)"; \
$(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL); \ $(Q) $(INSTALL_WDATA) -D $< $(confdir)/$(CONFLOCAL); \
fi fi
install_profiles: $(PROFILES) install_profiles: $(PROFILES)
$(INSTALL_DIR) $(profiledir) @echo " [INSTALL] $<"
$(INSTALL_DATA) $(PROFILES) $(profiledir)/ $(Q) $(INSTALL_DIR) $(profiledir)
$(Q) $(INSTALL_DATA) $(PROFILES) $(profiledir)/
install_lvm2: install_conf install_localconf install_profiles install_lvm2: install_conf install_localconf install_profiles

View File

@ -124,8 +124,9 @@ install_systemd_units: install_dbus_service
endif endif
install_tmpfiles_configuration: install_tmpfiles_configuration:
$(INSTALL_DIR) $(tmpfiles_dir) @echo " [INSTALL] $<"
$(INSTALL_DATA) lvm2_tmpfiles_red_hat.conf $(tmpfiles_dir)/lvm2.conf $(Q) $(INSTALL_DIR) $(tmpfiles_dir)
$(Q) $(INSTALL_DATA) lvm2_tmpfiles_red_hat.conf $(tmpfiles_dir)/lvm2.conf
DISTCLEAN_TARGETS += \ DISTCLEAN_TARGETS += \
blkdeactivate.sh \ blkdeactivate.sh \