diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-12 19:36:42 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-12 19:36:42 +0000 |
commit | 4e4fb4bdecd61767c50bd2f511af23e44c1e087c (patch) | |
tree | 5f37b55b61929e01c25b2ca8f07fbf5a9719bf1b /Makefile | |
parent | 8b28be62cc42de78cb98cd401514702297f29ae0 (diff) |
don't let make run configure or menuselect if the target is either
"clean" or "distclean"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37476 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -123,12 +123,16 @@ GLOBAL_MAKEOPTS=$(wildcard /etc/asterisk.makeopts) USER_MAKEOPTS=$(wildcard ~/.asterisk.makeopts) ifneq ($(wildcard menuselect.makeopts),) + ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) include menuselect.makeopts include menuselect.makedeps + endif endif ifneq ($(wildcard makeopts),) + ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) include makeopts + endif endif TOPDIR_CFLAGS=-Iinclude @@ -423,11 +427,15 @@ db1-ast/libdb1.a: $(MAKE) -C db1-ast libdb1.a ifneq ($(wildcard .depend),) + ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) include .depend + endif endif ifneq ($(wildcard .tags-depend),) + ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),) include .tags-depend + endif endif ast_expr2.c ast_expr2.h: |