mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
don't let make run configure or menuselect if the target is either
"clean" or "distclean" git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
8
Makefile
8
Makefile
@@ -123,12 +123,16 @@ 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)),)
|
||||||
include menuselect.makeopts
|
include menuselect.makeopts
|
||||||
include menuselect.makedeps
|
include menuselect.makedeps
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(wildcard makeopts),)
|
ifneq ($(wildcard makeopts),)
|
||||||
|
ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),)
|
||||||
include makeopts
|
include makeopts
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TOPDIR_CFLAGS=-Iinclude
|
TOPDIR_CFLAGS=-Iinclude
|
||||||
@@ -423,11 +427,15 @@ 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)),)
|
||||||
include .depend
|
include .depend
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(wildcard .tags-depend),)
|
ifneq ($(wildcard .tags-depend),)
|
||||||
|
ifeq ($(findstring clean,$(MAKECMDGOALS))$(findstring distclean,$(MAKECMDGOALS)),)
|
||||||
include .tags-depend
|
include .tags-depend
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ast_expr2.c ast_expr2.h:
|
ast_expr2.c ast_expr2.h:
|
||||||
|
|||||||
Reference in New Issue
Block a user