[Freeswitch-svn] [commit] r6015 - freeswitch/trunk

Freeswitch SVN mikej at freeswitch.org
Sun Oct 21 21:47:02 EDT 2007


Author: mikej
Date: Sun Oct 21 21:47:02 2007
New Revision: 6015

Modified:
   freeswitch/trunk/Makefile.am

Log:
do a little bit better dependency tracking with module targets when the core is modified.  Fix for FSBUILD-19

Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am	(original)
+++ freeswitch/trunk/Makefile.am	Sun Oct 21 21:47:02 2007
@@ -11,6 +11,8 @@
 OSARCH=`uname -s`
 
 .DEFAULT:
+	@target=`echo $@ | sed -e 's|^.*-||'`; \
+         if test "$$target" = "install"; then $(MAKE) $(AM_MAKEFLAGS) core_install; else $(MAKE) $(AM_MAKEFLAGS) core ; fi;
 	@cd src/mod && $(MAKE) $(AM_MAKEFLAGS) $@
 
 libfreeswitch_la_SOURCES	= \



More information about the Freeswitch-svn mailing list