]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/distrib/makedemo
Removed AlignIn after further thought
[wxWidgets.git] / wxPython / distrib / makedemo
... / ...
CommitLineData
1#!/bin/bash
2#----------------------------------------------------------------------
3
4if [ -z $1 ]; then
5 echo "Please specify a version number on the command line."
6 exit 1
7fi
8
9if [ ! -d wxPython ]; then
10 echo "Please run this script from the root wxPython directory."
11 exit 1
12fi
13
14mkdir _distrib_tgz
15mkdir _distrib_tgz/wxPython-$1
16
17cp -R demo _distrib_tgz/wxPython-$1
18cp -R samples _distrib_tgz/wxPython-$1
19
20# do some cleanup
21rm -rf `find _distrib_tgz/wxPython-$1 -name CVS`
22rm -f `find _distrib_tgz/wxPython-$1 -name "*.pyc"`
23rm -f `find _distrib_tgz/wxPython-$1 -name .cvsignore`
24rm -f `find _distrib_tgz/wxPython-$1 -name "core*"`
25rm -f `find _distrib_tgz/wxPython-$1 -name wxPython`
26rm -f `find _distrib_tgz/wxPython-$1 -name "*.o"`
27rm -f `find _distrib_tgz/wxPython-$1 -name "*.so"`
28rm -f `find _distrib_tgz/wxPython-$1 -name "*~"`
29rm -f `find _distrib_tgz/wxPython-$1 -name ".#*"`
30
31cd _distrib_tgz
32
33tar cvf ../dist/wxPythonDemo-$1.tar wxPython-$1
34gzip -9 ../dist/wxPythonDemo-$1.tar
35
36cd ..
37rm -r _distrib_tgz
38
39
40
41