]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makesrpm
A huge glob of changes in the 2.4 branch merged over to HEAD
[wxWidgets.git] / wxPython / distrib / makesrpm
1 #!/bin/bash
2 #----------------------------------------------------------------------
3
4 if [ ! -d wxPython -o ! -e distrib/makerpm ]; then
5 echo "Please run this script from the root wxPython directory."
6 exit 1
7 fi
8
9
10 #----------------------------------------------------------------------
11 # Check parameters
12
13 function useage {
14 echo "Usage: $0 wx_version "
15 echo " wx_version String to use for version in filenames, etc."
16 }
17
18 if [ $# -lt 1 ]; then
19 useage
20 exit 1
21 fi
22
23 ver=$1
24
25
26 distrib/makerpm $ver 2.2 skipclean srpm
27 distrib/makerpm $ver 2.3 skipclean skipcopy skiptar srpm
28 distrib/makerpm $ver 2.2 skipclean skipcopy skiptar srpm gtk2
29 distrib/makerpm $ver 2.3 skipclean skipcopy skiptar srpm gtk2