From b45211509dd76b32a78aaaba21ee170083ae06df Mon Sep 17 00:00:00 2001 From: "Curtis L. Olson" Date: Mon, 14 Nov 2011 15:37:18 -0600 Subject: [PATCH] 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. --- package/make-base-package.noarch.sh | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100755 package/make-base-package.noarch.sh diff --git a/package/make-base-package.noarch.sh b/package/make-base-package.noarch.sh new file mode 100755 index 000000000..8235c27c5 --- /dev/null +++ b/package/make-base-package.noarch.sh @@ -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