SUBDIRS = \
tests \
- src
-
-EXTRA_DIST = Thanks VERSION acsite.m4 acconfig.h irix-hack.pl \
- FlightGear.dsp FlightGear.dsw
+ man \
+ scripts \
+ src \
+ utils
+
+EXTRA_DIST = \
+ acinclude.m4 \
+ autogen.sh \
+ projects \
+ README \
+ README.OpenAL \
+ README.plib \
+ README.OSG \
+ README.SimGear \
+ Thanks
dist-hook:
- (cd $(top_srcdir); ../admin/am2dsp.pl)
- tar --exclude docs-mini/CVS --exclude hints/CVS -cf - docs-mini hints \
- | (cd $(distdir); tar xvf -)
- # tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
+ (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
+ -cf - docs-mini ) | (cd $(distdir); tar xvf -)
+ rm -rf `find $(distdir)/projects -name CVS`
##########################################################################
# make the base distribution with textures, sounds and a bit of
# scenery, and all the other associated files
-fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
-
-fgfs-base-tar:
- (cd $(HOME); \
- tar czvf fgfs-base-$(VERSION).tar.gz \
- FlightGear/A[A-su-z]* \
- FlightGear/[B-CE-R]* \
- FlightGear/Scenery/w130n30/w123n37 \
- FlightGear/Scenery/w130n30/w122n37 \
- FlightGear/Sounds \
- FlightGear/Textures \
- FlightGear/T[A-Za-df-z]* \
- FlightGear/[U-W]* FlightGear/[c-m]*)
-
-fgfs-base-zip:
- (cd $(HOME); \
- zip -rv fgfs-base-$(VERSION).zip \
- FlightGear/A[A-su-z]* \
- FlightGear/[B-CE-R]* \
- FlightGear/Scenery/w130n30/w123n37 \
- FlightGear/Scenery/w130n30/w122n37 \
- FlightGear/Sounds \
- FlightGear/Textures \
- FlightGear/T[A-Za-df-z]* \
- FlightGear/[U-W]* FlightGear/[c-z]*)
-
-fgfs-base-patch:
- (cd $(HOME); \
- tar --newer 9/18/2000 -czvf fgfs-base-patch-$(VERSION)b.tar.gz \
- FlightGear/A[A-su-z]* \
- FlightGear/[B-CE-R]* \
- FlightGear/Scenery/w130n30/w123n37 \
- FlightGear/Scenery/w130n30/w122n37 \
- FlightGear/Sounds \
- FlightGear/Textures \
- FlightGear/T[A-Za-df-z]* \
- FlightGear/[U-W]* FlightGear/[c-m]*)
+# note, fedora core tar does case insensitive wildcard matching for
+# directories, but apparently not files ... some stupid reason. :-(
+
+data-tar:
+ (cd ..; \
+ tar \
+ --exclude=CVS \
+ --exclude='*~' \
+ --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/b1900d \
+ data/Aircraft/bo105 \
+ data/Aircraft/c172p \
+ data/Aircraft/CitationX \
+ data/Aircraft/Dragonfly \
+ data/Aircraft/dhc2 \
+ data/Aircraft/f-14b \
+ data/Aircraft/j3cub \
+ data/Aircraft/SenecaII \
+ data/Aircraft/sopwithCamel \
+ data/Aircraft/ufo \
+ data/Aircraft/ZLT-NT \
+ data/Airports \
+ data/Astro \
+ data/ATC \
+ data/AUTHORS \
+ data/ChangeLog \
+ data/cloudlayers.xml \
+ data/COPYING \
+ data/D* \
+ data/Effects \
+ data/Fonts \
+ data/gui \
+ data/Huds \
+ data/Input \
+ data/joysticks.xml \
+ data/keyboard.xml \
+ data/Lighting \
+ data/materials.dtd \
+ data/materials.xml \
+ data/mice.xml \
+ data/Models \
+ 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 \
+ )
fgfs-textures-high:
(cd $(HOME); \
fgfs-docs: fgfs-docs-tar fgfs-manual-zip
fgfs-docs-tar:
- ( cd ../.. ; \
- tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear-0.7/docs )
+ ( cd $(HOME); \
+ tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
# fgfs-docs-zip:
-# ( cd ../.. ; \
+# ( cd $(HOME)/Projects ; \
# zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
fgfs-manual-zip:
- ( cd ../.. ; \
- zip -r fgfs-manual-$(VERSION).zip FlightGear-0.7/docs/InstallGuide )
+ ( cd $(HOME) ; \
+ zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
# make the win32-bin distribution
fgfs-win32-bin:
(cd $(HOME); \
- zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
+ zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
+ FlightGear/bin/Win32 )
# make the win32-libs distribution (depricated)
win32-libs: