[asterisk-commits] trunk r37476 - /trunk/Makefile
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Jul 12 12:36:43 MST 2006
Author: russell
Date: Wed Jul 12 14:36:42 2006
New Revision: 37476
URL: http://svn.digium.com/view/asterisk?rev=37476&view=rev
Log:
don't let make run configure or menuselect if the target is either
"clean" or "distclean"
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?rev=37476&r1=37475&r2=37476&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jul 12 14:36:42 2006
@@ -123,12 +123,16 @@
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 @@
$(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:
More information about the asterisk-commits
mailing list