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