]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxPython/distrib/maketgz
Added RTLD_GLOBAL to dlopen() flags which is needed if libraries depend
[wxWidgets.git] / utils / wxPython / distrib / maketgz
... / ...
CommitLineData
1#!/bin/bash
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#----------------------------------------------------------------------
8
9if [ -z $1 ]; then
10 echo "Please specify a version number on the command line."
11 exit 1
12fi
13
14if [ ! -d wxPython ]; then
15 echo "Please run this script from the directory containing the wxPython directory."
16 exit 1
17fi
18
19cp $WXWIN/docs/gpl.txt wxPython
20cp $WXWIN/docs/lgpl.txt wxPython
21cp $WXWIN/docs/licence.txt wxPython
22cp $WXWIN/docs/licendoc.txt wxPython
23cp $WXWIN/docs/preamble.txt wxPython
24
25rm -f wxPython/distrib/filelist
26for x in `cat wxPython/distrib/wxPython.rsp`; do
27 ls $x >> wxPython/distrib/filelist
28done
29
30
31tar cf wxPython/distrib/dist-temp.tar -T wxPython/distrib/filelist
32cd wxPython/distrib
33tar xf dist-temp.tar
34rm dist-temp.tar
35mv wxPython wxPython-$1
36rm wxPython-$1/src/gtk/helpers.cpp
37
38tar cvf wxPython-$1.tar wxPython-$1
39gzip wxPython-$1.tar
40
41rm -rf wxPython-$1
42
43
44
45
46
47
48