Fix for building from read-only source directories - Bug #1707582

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-04-30 20:40:17 +00:00
commit 0eda1f9062
3 changed files with 12 additions and 3 deletions

View file

@ -48,7 +48,7 @@ os.system("find "+dirname+" -name .cvsignore -exec rm {} \\;");
print "Building system"
os.system("cd "+dirname+"; ./autogen.sh")
os.system("cd "+dirname+"/Tools/WAD; autoconf")
os.system("cd "+dirname+"/Source/CParse; bison -y -d parser.y; mv y.tab.c parser.c; mv y.tab.h parser.h")
os.system("make maintainer")
# Remove autoconf files
os.system("find "+dirname+" -name autom4te.cache -exec rm -rf {} \\;");