17 (cd $(top_srcdir); $(HOME)/Projects/FlightGear/admin/am2dsp.pl)
18 (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
19 -cf - docs-mini ) | (cd $(distdir); tar xvf -)
20 rm -rf `find $(distdir)/projects -name CVS`
23 ##########################################################################
24 # extra targets to do various things ...
27 ##########################################################################
30 # make the base distribution with textures, sounds and a bit of
31 # scenery, and all the other associated files
33 # note, fedora core tar does case insensitive wildcard matching for
34 # directories, but apparently not files ... some stupid reason. :-(
43 --exclude='*/c172/Instruments.high' \
44 --exclude='*/Textures/Unused' \
45 --exclude='*/Textures/*.orig' \
46 --exclude='*/Textures.high/*.new' \
47 --exclude='*/Textures.high/*.orig' \
48 --exclude='*/Textures.high/*.save' \
49 --exclude='*/Docs/source' \
50 --exclude='*/Models/MNUAV' \
51 --exclude='*/Models/Airspace' \
52 -cjvf fgfs-base-$(VERSION).tar.bz2 \
53 data/Aircraft/Generic \
54 data/Aircraft/Instruments \
55 data/Aircraft/Instruments-3d \
57 data/Aircraft/737-300 \
64 data/Aircraft/c310u3a \
65 data/Aircraft/Citation-Bravo \
68 data/Aircraft/Hunter \
70 data/Aircraft/pa28-161 \
71 data/Aircraft/Rascal \
74 data/Aircraft/wrightFlyer1903 \
80 data/cloudlayers.xml \
96 data/preferences.xml \
99 data/Scenery/Objects \
100 data/Scenery/Terrain \
108 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
109 FlightGear/Textures.high)
111 # make the mini JSBsim data distribution
114 tar czvf jsbsim-data-$(VERSION).tar.gz \
115 FlightGear/Aircraft \
118 # make the documentation distribution
120 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
124 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
127 # ( cd $(HOME)/Projects ; \
128 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
132 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
134 # make the win32-bin distribution
138 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
139 FlightGear/bin/Win32 )
141 # make the win32-libs distribution (depricated)
143 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
144 Win32/README.glut Win32/cygwinb1.dll Win32/def \
145 Win32/*.exp Win32/gen-def-from-errors.pl \
146 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
147 Win32/impdef.exe Win32/include \
149 Win32/lib Win32/zlib.lib )
151 # make the MacOS (MWCWP3) devel support archive
153 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
155 # clean up dependencies
158 src/.deps tests/.deps \
163 # clean up after libtool
165 rm -rf .libs src/.libs \
168 rm -f src/*/so_locations \
171 # clean up after winbloze spews random case for file names :-(
172 clean-winbloze: clean-deps clean-libs
173 rm -f makefile src/Include/makefile src/makefile \
177 rm -f src/Main/fg.exe