]> git.mxchange.org Git - flightgear.git/blob - package/make-base-package.noarch.sh
Mac nightly packaging updates
[flightgear.git] / package / make-base-package.noarch.sh
1 #!/bin/sh
2
3 echo $1 $2
4
5 if [ "x$1" != "x" ]; then
6     BASE="$1"
7 else
8     BASE="/home/curt/Projects/FlightGear/"
9 fi
10
11 if [ "x$2" != "x" ]; then
12     VERSION="$2"
13 else
14     VERSION="2.7"
15 fi
16
17 echo base dir = $BASE, version = $VERSION
18
19 cd $BASE
20
21 tar \
22         --exclude=CVS \
23         --exclude='*~' \
24         --exclude='*.bak' \
25         --exclude='*.tex' \
26         --exclude='*.xcf' \
27         --exclude='*/c172/Instruments.high' \
28         --exclude='*/Textures/Unused' \
29         --exclude='*/Textures/*.orig' \
30         --exclude='*/Textures.high/*.new' \
31         --exclude='*/Textures.high/*.orig' \
32         --exclude='*/Textures.high/*.save' \
33         --exclude='*/data/Data' \
34         --exclude='*/Docs/source' \
35         --exclude='*/Models/MNUAV' \
36         --exclude='*/Models/Airspace' \
37         -cjvf FlightGear-data-${VERSION}.tar.bz2 \
38                 data/AI \
39                 data/Aircraft/Generic \
40                 data/Aircraft/Instruments \
41                 data/Aircraft/Instruments-3d \
42                 data/Aircraft/UIUC \
43                 data/Aircraft/777 \
44                 data/Aircraft/777-200 \
45                 data/Aircraft/A6M2 \
46                 data/Aircraft/ASK13 \
47                 data/Aircraft/b1900d \
48                 data/Aircraft/bo105 \
49                 data/Aircraft/c172p \
50                 data/Aircraft/CitationX \
51                 data/Aircraft/Dragonfly \
52                 data/Aircraft/dhc2 \
53                 data/Aircraft/f-14b \
54                 data/Aircraft/Cub \
55                 data/Aircraft/SenecaII \
56                 data/Aircraft/sopwithCamel \
57                 data/Aircraft/ufo \
58                 data/Aircraft/ZLT-NT \
59                 data/Airports \
60                 data/Astro \
61                 data/ATC \
62                 data/AUTHORS \
63                 data/ChangeLog \
64                 data/COPYING \
65                 data/D* \
66                 data/Effects \
67                 data/Environment \
68                 data/Fonts \
69                 data/gui \
70                 data/HLA \
71                 data/Huds \
72                 data/Input \
73                 data/joysticks.xml \
74                 data/keyboard.xml \
75                 data/Lighting \
76                 data/mice.xml \
77                 data/Materials \
78                 data/Models \
79                 data/MP \
80                 data/N* \
81                 data/options.xml \
82                 data/preferences.xml \
83                 data/Protocol \
84                 data/README \
85                 data/Scenery/Airports \
86                 data/Scenery/Objects \
87                 data/Scenery/Terrain \
88                 data/Shaders \
89                 data/Sounds \
90                 data/T* \
91                 data/version