1
0
Fork 0

A simple initial version of a packaging script for the data package -- lots

of room for improvement but this will work in the short term.
This commit is contained in:
Curtis L. Olson 2011-11-14 15:37:18 -06:00
parent 2b68bebb5d
commit b45211509d

View file

@ -0,0 +1,78 @@
#!/bin/sh
BASE="/home/curt/Projects/FlightGear/"
VERSION="2.5"
cd $BASE
tar \
--exclude=CVS \
--exclude='*~' \
--exclude='*.bak' \
--exclude='*.tex' \
--exclude='*.xcf' \
--exclude='*/c172/Instruments.high' \
--exclude='*/Textures/Unused' \
--exclude='*/Textures/*.orig' \
--exclude='*/Textures.high/*.new' \
--exclude='*/Textures.high/*.orig' \
--exclude='*/Textures.high/*.save' \
--exclude='*/data/Data' \
--exclude='*/Docs/source' \
--exclude='*/Models/MNUAV' \
--exclude='*/Models/Airspace' \
-cjvf FlightGear-data-$(VERSION).tar.bz2 \
data/AI \
data/Aircraft/Generic \
data/Aircraft/Instruments \
data/Aircraft/Instruments-3d \
data/Aircraft/UIUC \
data/Aircraft/777-200 \
data/Aircraft/A6M2 \
data/Aircraft/ASK13 \
data/Aircraft/b1900d \
data/Aircraft/bo105 \
data/Aircraft/c172p \
data/Aircraft/CitationX \
data/Aircraft/Dragonfly \
data/Aircraft/dhc2 \
data/Aircraft/f-14b \
data/Aircraft/Cub \
data/Aircraft/SenecaII \
data/Aircraft/sopwithCamel \
data/Aircraft/ufo \
data/Aircraft/ZLT-NT \
data/Airports \
data/Astro \
data/ATC \
data/AUTHORS \
data/ChangeLog \
data/COPYING \
data/D* \
data/Effects \
data/Environment \
data/Fonts \
data/gui \
data/HLA \
data/Huds \
data/Input \
data/joysticks.xml \
data/keyboard.xml \
data/Lighting \
data/materials.dtd \
data/materials.xml \
data/mice.xml \
data/Models \
data/MP \
data/N* \
data/options.xml \
data/preferences.xml \
data/Protocol \
data/README \
data/Scenery/Airports \
data/Scenery/Objects \
data/Scenery/Terrain \
data/Shaders \
data/Sounds \
data/T* \
data/version