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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 28 09:23:03 CDT 2011


Author: twilson
Date: Tue Jun 28 09:22:58 2011
New Revision: 325090

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=325090
Log:
Only force build of astdb2sqlite3 if needed

Specifically when astdb exists but astdb.sqlite3 doesn't

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=325090&r1=325089&r2=325090
==============================================================================
--- team/twilson/sqlite_astdb/Makefile (original)
+++ team/twilson/sqlite_astdb/Makefile Tue Jun 28 09:22:58 2011
@@ -838,7 +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")
+	@[ -f $(DESTDIR)$(ASTDBDIR)/astdb.sqlite3 ] || [ ! -f $(DESTDIR)$(ASTDBDIR)/astdb ] || [ ! -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