]>
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 directory."
19 cp $WXWIN/docs
/gpl.txt wxPython
20 cp $WXWIN/docs
/lgpl.txt wxPython
21 cp $WXWIN/docs
/licence.txt wxPython
22 cp $WXWIN/docs
/licendoc.txt wxPython
23 cp $WXWIN/docs
/preamble.txt wxPython
25 rm -f wxPython
/distrib
/filelist
26 for x
in `cat wxPython/distrib/wxPython.rsp`; do
27 ls $x >> wxPython
/distrib
/filelist
31 tar cf wxPython
/distrib
/dist
-temp.
tar -T wxPython
/distrib
/filelist
35 mv wxPython wxPython
-$1
36 rm wxPython
-$1/src
/gtk
/helpers.cpp
38 tar cvf wxPython
-$1.
tar wxPython
-$1