diff options
Diffstat (limited to 'Tools/mkdist.py')
-rwxr-xr-x | Tools/mkdist.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Tools/mkdist.py b/Tools/mkdist.py index f5bdd01c7..0e2eafa79 100755 --- a/Tools/mkdist.py +++ b/Tools/mkdist.py @@ -1,4 +1,4 @@ -#!/usr/local/bin/python +#!/usr/bin/env python # This script builds a swig-1.3 distribution. # Usage : mkdist.py version, where version should be 1.3.x @@ -43,11 +43,6 @@ os.system("svn export -r HEAD https://swig.svn.sourceforge.net/svnroot/swig/trun os.system("rm -Rf "+dirname+"/debian") == 0 or failed() -# Blow away all .cvsignore files - -print "Blowing away .cvsignore files" -os.system("find "+dirname+" -name .cvsignore -exec rm {} \\;") == 0 or failed() - # Go build the system print "Building system" @@ -61,7 +56,8 @@ os.system("find "+dirname+" -name autom4te.cache -exec rm -rf {} \\;") # Build documentation print "Building documentation" -os.system("cd "+dirname+"/Doc/Manual && make && rm *.bak") == 0 or failed() +os.system("cd "+dirname+"/Doc/Manual && make all clean-baks") == 0 or failed() +os.system("cd "+dirname+"/CCache && yodl2man -o ccache-swig.1 ccache.yo") == 0 or failed() # Build the tar-ball os.system("tar -cf "+dirname+".tar "+dirname) == 0 or failed() |