mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: use filter
This commit is contained in:
parent
d53c71a4f2
commit
987256aaa8
@ -563,8 +563,9 @@ else
|
||||
endif
|
||||
|
||||
ifeq ("@USE_TRACKING@","yes")
|
||||
ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov \
|
||||
help check check_local check_cluster check_lvmpolld))
|
||||
MAKE_NODEPS_GOALS := cscope.out cflow clean distclean lcov lcov-reset\
|
||||
help check check_local check_cluster check_lvmpolld run-unit-test tags
|
||||
ifeq (,$(filter $(MAKE_NODEPS_GOALS),$(MAKECMDGOALS)))
|
||||
.SECONDARY:
|
||||
# Note: no tabs before -include
|
||||
-include $(SOURCES:.c=.d) $(SOURCES2:.c=.d) $(CXXSOURCES:.cpp=.d)
|
||||
|
@ -637,8 +637,9 @@ else
|
||||
endif
|
||||
|
||||
ifeq ("$(USE_TRACKING)","yes")
|
||||
ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov lcov-reset \
|
||||
help check check_local check_cluster check_lvmpolld run-unit-test tags))
|
||||
MAKE_NODEPS_GOALS := cscope.out cflow clean distclean lcov lcov-reset\
|
||||
help check check_local check_cluster check_lvmpolld run-unit-test tags
|
||||
ifeq (,$(filter $(MAKE_NODEPS_GOALS),$(MAKECMDGOALS)))
|
||||
.SECONDARY:
|
||||
# Note: no tabs before -include
|
||||
-include $(SOURCES:.c=.d) $(SOURCES2:.c=.d) $(CXXSOURCES:.cpp=.d)
|
||||
|
@ -48,7 +48,8 @@ MAN8SO=lvm-config.8 lvm-dumpconfig.8
|
||||
MAN8DM=dmsetup.8 dmstats.8
|
||||
MAN8CLUSTER=
|
||||
|
||||
ifeq (,$(findstring $(MAKECMDGOALS), distclean all_man install_all_man))
|
||||
MAN_ALL_GOALS := distclean all_man install_all_man
|
||||
ifeq (,$(filter $(MAN_ALL_GOALS),$(MAKECMDGOALS)))
|
||||
MAN7 += lvmcache.7 lvmthin.7 lvmvdo.7
|
||||
MAN8+=$(FSADMMAN) $(LVMPOLLDMAN) $(LVMLOCKDMAN) $(LVMDBUSDMAN) $(LVMIMPORTVDOMAN)
|
||||
MAN8DM+=$(BLKDEACTIVATEMAN) $(DMEVENTDMAN) $(DMFILEMAPDMAN)
|
||||
@ -279,7 +280,7 @@ install_man8: $(MAN8) $(MAN8SO)
|
||||
install_lvm2: install_man5 install_man7 install_man8
|
||||
|
||||
install_cluster: $(MAN8CLUSTER)
|
||||
ifdef MAN8CLUSTER
|
||||
ifneq ($(MAN8CLUSTER),)
|
||||
$(SHOW) " [INSTALL] $^"
|
||||
$(Q) $(INSTALL) -d $(MAN8DIR)
|
||||
$(Q) $(INSTALL_DATA) $^ $(MAN8DIR)/
|
||||
|
Loading…
Reference in New Issue
Block a user