diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2010-04-03 12:05:16 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2010-04-03 12:05:16 +0000 |
commit | 5b3b15ae15e6d404341ebc51606f1404fbbff81b (patch) | |
tree | 60b5191d8619dc9293470aa5ee925df85ed472c9 /Tools | |
parent | 0080d1e031e7dc9e41b6e187aa35b80fa7ec8d4e (diff) | |
download | swig-5b3b15ae15e6d404341ebc51606f1404fbbff81b.tar.gz |
Minor robustness tweaks to building distribution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/mkdist.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Tools/mkdist.py b/Tools/mkdist.py index 9e25d3827..bd7872fb0 100755 --- a/Tools/mkdist.py +++ b/Tools/mkdist.py @@ -46,17 +46,18 @@ os.system("rm -Rf "+dirname+"/debian") == 0 or failed() # Go build the system print "Building system" -os.system("cd "+dirname+"; ./autogen.sh") == 0 or failed() -os.system("cd "+dirname+"/Tools/WAD; autoconf") == 0 or failed() -os.system("cd "+dirname+"/Source/CParse; bison -y -d parser.y; mv y.tab.c parser.c; mv y.tab.h parser.h") == 0 or failed() -os.system("cd "+dirname+"; make -f Makefile.in libfiles srcdir=./") == 0 or failed() +os.system("cd "+dirname+" && ./autogen.sh") == 0 or failed() +os.system("cd "+dirname+"/Tools/WAD && autoconf") == 0 or failed() +os.system("cd "+dirname+"/Source/CParse && bison -y -d parser.y && mv y.tab.c parser.c && mv y.tab.h parser.h") == 0 or failed() +os.system("cd "+dirname+" && make -f Makefile.in libfiles srcdir=./") == 0 or failed() # Remove autoconf files os.system("find "+dirname+" -name autom4te.cache -exec rm -rf {} \\;") # Build documentation -print "Building documentation" +print "Building html documentation" os.system("cd "+dirname+"/Doc/Manual && make all clean-baks") == 0 or failed() +print "Building man pages" os.system("cd "+dirname+"/CCache && yodl2man -o ccache-swig.1 ccache.yo") == 0 or failed() # Build the tar-ball |