22 (cd $(top_srcdir); $(HOME)/src/FlightGear-0.9/admin/am2dsp.pl)
23 (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
24 -cf - docs-mini ) | (cd $(distdir); tar xvf -)
25 rm -rf `find $(distdir)/projects -name CVS`
28 ##########################################################################
29 # extra targets to do various things ...
32 ##########################################################################
35 # make the base distribution with textures, sounds and a bit of
36 # scenery, and all the other associated files
38 # note, fedora core tar does case insensitive wildcard matching for
39 # directories, but apparently not files ... some stupid reason. :-(
48 --exclude='*/c172/Instruments.high' \
49 --exclude='*/Textures/Unused' \
50 --exclude='*/Textures/*.orig' \
51 --exclude='*/Textures.high/*.new' \
52 --exclude='*/Textures.high/*.orig' \
53 --exclude='*/Textures.high/*.save' \
54 --exclude='*/data/Data' \
55 --exclude='*/Docs/source' \
56 --exclude='*/Models/MNUAV' \
57 --exclude='*/Models/Airspace' \
58 -cjvf fgfs-base-$(VERSION).tar.bz2 \
60 data/Aircraft/Generic \
61 data/Aircraft/Instruments \
62 data/Aircraft/Instruments-3d \
64 data/Aircraft/737-300 \
71 data/Aircraft/c310u3a \
72 data/Aircraft/Citation-Bravo \
75 data/Aircraft/Hunter \
77 data/Aircraft/pa28-161 \
78 data/Aircraft/Rascal \
81 data/Aircraft/wrightFlyer1903 \
87 data/cloudlayers.xml \
103 data/preferences.xml \
106 data/Scenery/Objects \
107 data/Scenery/Terrain \
115 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
116 FlightGear/Textures.high)
118 # make the mini JSBsim data distribution
121 tar czvf jsbsim-data-$(VERSION).tar.gz \
122 FlightGear/Aircraft \
125 # make the documentation distribution
127 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
131 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
134 # ( cd $(HOME)/Projects ; \
135 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
139 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
141 # make the win32-bin distribution
145 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
146 FlightGear/bin/Win32 )
148 # make the win32-libs distribution (depricated)
150 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
151 Win32/README.glut Win32/cygwinb1.dll Win32/def \
152 Win32/*.exp Win32/gen-def-from-errors.pl \
153 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
154 Win32/impdef.exe Win32/include \
156 Win32/lib Win32/zlib.lib )
158 # make the MacOS (MWCWP3) devel support archive
160 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
162 # clean up dependencies
165 src/.deps tests/.deps \
170 # clean up after libtool
172 rm -rf .libs src/.libs \
175 rm -f src/*/so_locations \
178 # clean up after winbloze spews random case for file names :-(
179 clean-winbloze: clean-deps clean-libs
180 rm -f makefile src/Include/makefile src/makefile \
184 rm -f src/Main/fg.exe