[asterisk-commits] seanbright: trunk r225690 - in /trunk: Makefile agi/Makefile agi/agi.xml
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 23 11:40:34 CDT 2009
Author: seanbright
Date: Fri Oct 23 11:40:30 2009
New Revision: 225690
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=225690
Log:
Optionally build and install the sample AGIs in the agi/ directory.
Added:
trunk/agi/agi.xml (with props)
Modified:
trunk/Makefile
trunk/agi/Makefile
Modified: trunk/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/Makefile?view=diff&rev=225690&r1=225689&r2=225690
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri Oct 23 11:40:30 2009
@@ -940,7 +940,7 @@
menuselect/makeopts: makeopts
+$(MAKE_MENUSELECT) makeopts
-menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml build_tools/cflags-devmode.xml sounds/sounds.xml build_tools/embed_modules.xml utils/utils.xml configure
+menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml build_tools/cflags-devmode.xml sounds/sounds.xml build_tools/embed_modules.xml utils/utils.xml agi/agi.xml configure
@echo "Generating input for menuselect ..."
@echo "<?xml version=\"1.0\"?>" > $@
@echo >> $@
@@ -952,6 +952,7 @@
cat build_tools/cflags-devmode.xml >> $@; \
fi
@cat utils/utils.xml >> $@
+ @cat agi/agi.xml >> $@
@cat build_tools/embed_modules.xml >> $@
@cat sounds/sounds.xml >> $@
@echo "</menu>" >> $@
Modified: trunk/agi/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/agi/Makefile?view=diff&rev=225690&r1=225689&r2=225690
==============================================================================
--- trunk/agi/Makefile (original)
+++ trunk/agi/Makefile Fri Oct 23 11:40:30 2009
@@ -11,9 +11,12 @@
# the GNU General Public License
#
+ASTTOPDIR?=..
+-include $(ASTTOPDIR)/menuselect.makeopts
+
.PHONY: clean all uninstall
-AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
+AGIS=$(MENUSELECT_AGIS)
ifeq ($(OSARCH),SunOS)
LIBS+=-lsocket -lnsl
Added: trunk/agi/agi.xml
URL: http://svnview.digium.com/svn/asterisk/trunk/agi/agi.xml?view=auto&rev=225690
==============================================================================
--- trunk/agi/agi.xml (added)
+++ trunk/agi/agi.xml Fri Oct 23 11:40:30 2009
@@ -1,0 +1,14 @@
+<category name="MENUSELECT_AGIS" displayname="AGI Samples" positive_output="yes">
+ <member name="agi-test.agi">
+ <defaultenabled>no</defaultenabled>
+ </member>
+ <member name="eagi-test">
+ <defaultenabled>no</defaultenabled>
+ </member>
+ <member name="eagi-sphinx-test">
+ <defaultenabled>no</defaultenabled>
+ </member>
+ <member name="jukebox.agi">
+ <defaultenabled>no</defaultenabled>
+ </member>
+</category>
Propchange: trunk/agi/agi.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/agi/agi.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: trunk/agi/agi.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list