[svn-commits] twilson: branch twilson/sqlite_astdb r324300 - /team/twilson/sqlite_astdb/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 21 00:18:42 CDT 2011


Author: twilson
Date: Tue Jun 21 00:18:38 2011
New Revision: 324300

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324300
Log:
Add a check to force astdb2sqlite3 to be built

This could probably be improved to actually test if ASTDBDIR/astdb exists and
ASTDBDIR/astdb.sqlite3 doesn't exist before forcing the conversion utility to
be built.

Modified:
    team/twilson/sqlite_astdb/Makefile

Modified: team/twilson/sqlite_astdb/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/twilson/sqlite_astdb/Makefile?view=diff&rev=324300&r1=324299&r2=324300
==============================================================================
--- team/twilson/sqlite_astdb/Makefile (original)
+++ team/twilson/sqlite_astdb/Makefile Tue Jun 21 00:18:38 2011
@@ -838,6 +838,7 @@
 
 cleantest:
 	@cmp -s .cleancount .lastclean || $(MAKE) clean
+	@[ ! -f menuselect.makeopts ] || grep -q MENUSELECT_UTILS=.*astdb2sqlite3 menuselect.makeopts || (sed -i.orig -e's/MENUSELECT_UTILS=\([a-z_]\+\)/MENUSELECT_UTILS=\1 astdb2sqlite3/' menuselect.makeopts && echo "Updating menuselect.makeopts to include astdb2sqlite3" && echo "Original version backed up to menuselect.makeopts.orig")
 
 $(SUBDIRS_UNINSTALL):
 	+@$(SUBMAKE) -C $(@:-uninstall=) uninstall




More information about the svn-commits mailing list