]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/distrib/maketgz
2 #----------------------------------------------------------------------
3 # Make a source distribution as a tar.gz file. This script should be
4 # run from the directory that holds the wxPython dir (../..) and be
5 # given a version number as an parameter. The best way to do this is
6 # run "make dist" in the wxPython/src/ directory.
7 #----------------------------------------------------------------------
10 echo "Please specify a version number on the command line."
14 if [ ! -d wxPython
]; then
15 echo "Please run this script from the directory containing the wxPython sources."
20 rm -f wxPython
/distrib
/filelist
21 for x
in `cat wxPython/distrib/wxPython.rsp`; do
22 ls $x >> wxPython
/distrib
/filelist
26 tar cf wxPython
/distrib
/dist
-temp.
tar -T wxPython
/distrib
/filelist
30 mv wxPython wxPython
-$1
31 rm wxPython
-$1/src
/gtk
/helpers.cpp
33 tar cvf wxPython
-$1.
tar wxPython
-$1