[asterisk-commits] mnicholson: testsuite/asterisk/trunk r398 - /asterisk/trunk/asttest/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 11 12:05:50 CDT 2010


Author: mnicholson
Date: Fri Jun 11 12:05:47 2010
New Revision: 398

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=398
Log:
Remove external lua lib dir's before unpacking new files there

Modified:
    asterisk/trunk/asttest/Makefile

Modified: asterisk/trunk/asttest/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/Makefile?view=diff&rev=398&r1=397&r2=398
==============================================================================
--- asterisk/trunk/asttest/Makefile (original)
+++ asterisk/trunk/asttest/Makefile Fri Jun 11 12:05:47 2010
@@ -117,6 +117,7 @@
 	$(MAKE) -C lib/lua/$(LUAFILESYSTEM)
 
 lib/lua/lfs-patched.stamp lib/lua/$(LUAFILESYSTEM): lib/lua/$(LUAFILESYSTEM).tar.gz tools/lfs.diff
+	rm -rf lib/lua/$(LUAFILESYSTEM)
 	tar -C lib/lua -zxf lib/lua/$(LUAFILESYSTEM).tar.gz 
 	patch -p1 -d lib/lua/$(LUAFILESYSTEM) < tools/lfs.diff
 	touch lib/lua/lfs-patched.stamp
@@ -125,6 +126,7 @@
 	$(MAKE) -C lib/lua/$(LUASOCKET)
 
 lib/lua/luasocket-patched.stamp lib/lua/$(LUASOCKET): lib/lua/$(LUASOCKET).tar.gz tools/luasocket.diff
+	rm -rf lib/lua/$(LUASOCKET)
 	tar -C lib/lua -zxf lib/lua/$(LUASOCKET).tar.gz 
 	patch -p1 -d lib/lua/$(LUASOCKET) < tools/luasocket.diff
 	touch lib/lua/luasocket-patched.stamp
@@ -133,6 +135,7 @@
 	$(MAKE) -C lib/lua/$(LUAPOSIX)
 
 lib/lua/luaposix-patched.stamp lib/lua/$(LUAPOSIX): lib/lua/$(LUAPOSIX).tar.gz tools/luaposix.diff
+	rm -rf lib/lua/$(LUAPOSIX)
 	tar -C lib/lua -zxf lib/lua/$(LUAPOSIX).tar.gz 
 	patch -p1 -d lib/lua/$(LUAPOSIX) < tools/luaposix.diff
 	touch lib/lua/luaposix-patched.stamp




More information about the asterisk-commits mailing list