[zaptel-commits] branch group/menuselect r1171 -
/team/group/menuselect/Makefile
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Fri Jun 23 21:48:30 MST 2006
Author: russell
Date: Fri Jun 23 23:48:29 2006
New Revision: 1171
URL: http://svn.digium.com/view/zaptel?rev=1171&view=rev
Log:
ensure menuselect.makeopts is generated even when menuselect is not
run explicitly
Modified:
team/group/menuselect/Makefile
Modified: team/group/menuselect/Makefile
URL: http://svn.digium.com/view/zaptel/team/group/menuselect/Makefile?rev=1171&r1=1170&r2=1171&view=diff
==============================================================================
--- team/group/menuselect/Makefile (original)
+++ team/group/menuselect/Makefile Fri Jun 23 23:48:29 2006
@@ -170,7 +170,10 @@
UTILS:=$(filter-out zttool fxstest ztcfg,$(MENUSELECT_UTILS))
UTILSO:=$(UTILS:%=%.o)
-all: modules $(LIBTONEZONE_SO)
+all: menuselect.makeopts
+ @$(MAKE) _all
+
+_all: modules $(LIBTONEZONE_SO)
programs: $(BINS)
@@ -483,7 +486,6 @@
@$(MAKE) -C mxml clean
rm -f makeopts menuselect.makeopts
rm -f config.log config.status
- rm -f autoconfig.h
FORCE:
config.status: configure
@@ -494,6 +496,9 @@
@echo "****"
@exit 1
+menuselect.makeopts: menuselect/menuselect makeopts.xml
+ @menuselect/menuselect --check-deps ${GLOBAL_MAKEOPTS} ${USER_MAKEOPTS} $@
+
menuselect: menuselect/menuselect
- at menuselect/menuselect $(GLOBAL_MAKEOPTS) $(USER_MAKEOPTS) menuselect.makeopts && echo "menuselect changes saved!" || echo "menuselect changes NOT saved!"
More information about the zaptel-commits
mailing list