more --srcdir fixes

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15708 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-11-29 05:50:59 +00:00
parent d9a103bd5b
commit 7bfdd463b6
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -25,6 +25,7 @@ $(OUR_MODULES) $(OUR_CLEAN_MODULES) $(OUR_INSTALL_MODULES) $(OUR_UNINSTALL_MODUL
then echo ; echo "WARNING $$modname is not a valid FreeSWITCH module dir, skipping it....." ; else \
echo ;\
echo making $$target $$modname ;\
test -d "$$buildmoddir" || mkdir -p $$buildmoddir ; \
(if test -f "$$moddir/Makefile" ; then \
test -f "$$buildmoddir/Makefile" || cp $$moddir/Makefile $$buildmoddir/Makefile ; \
cd $$buildmoddir && MODDIR=$$moddir MODNAME=$$modname BASE=$(switch_srcdir) $(MAKE) $(AM_MAKEFLAGS) $$target; \