add "update" to the list of targets to ignore various included files for and

check the targets in a little bit different way


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 20 years ago
parent 90098fa198
commit 407c91a043

@ -123,14 +123,14 @@ GLOBAL_MAKEOPTS=$(wildcard /etc/asterisk.makeopts)
USER_MAKEOPTS=$(wildcard ~/.asterisk.makeopts) USER_MAKEOPTS=$(wildcard ~/.asterisk.makeopts)
ifneq ($(wildcard menuselect.makeopts),) ifneq ($(wildcard menuselect.makeopts),)
ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),)
include menuselect.makeopts include menuselect.makeopts
include menuselect.makedeps include menuselect.makedeps
endif endif
endif endif
ifneq ($(wildcard makeopts),) ifneq ($(wildcard makeopts),)
ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),)
include makeopts include makeopts
endif endif
endif endif
@ -427,13 +427,13 @@ db1-ast/libdb1.a:
$(MAKE) -C db1-ast libdb1.a $(MAKE) -C db1-ast libdb1.a
ifneq ($(wildcard .depend),) ifneq ($(wildcard .depend),)
ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),)
include .depend include .depend
endif endif
endif endif
ifneq ($(wildcard .tags-depend),) ifneq ($(wildcard .tags-depend),)
ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) ifeq ($(foreach target,clean distclean update,$(findstring $(target),$(MAKECMDGOALS))),)
include .tags-depend include .tags-depend
endif endif
endif endif

Loading…
Cancel
Save