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='*/data/Data' \
50 --exclude='*/Docs/source' \
51 --exclude='*/Models/MNUAV' \
52 --exclude='*/Models/Airspace' \
53 -cjvf fgfs-base-$(VERSION).tar.bz2 \
55 data/Aircraft/Generic \
56 data/Aircraft/Instruments \
57 data/Aircraft/Instruments-3d \
59 data/Aircraft/737-300 \
66 data/Aircraft/c310u3a \
67 data/Aircraft/Citation-Bravo \
70 data/Aircraft/Hunter \
72 data/Aircraft/pa28-161 \
73 data/Aircraft/Rascal \
76 data/Aircraft/wrightFlyer1903 \
82 data/cloudlayers.xml \
98 data/preferences.xml \
101 data/Scenery/Objects \
102 data/Scenery/Terrain \
110 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
111 FlightGear/Textures.high)
113 # make the mini JSBsim data distribution
116 tar czvf jsbsim-data-$(VERSION).tar.gz \
117 FlightGear/Aircraft \
120 # make the documentation distribution
122 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
126 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
129 # ( cd $(HOME)/Projects ; \
130 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
134 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
136 # make the win32-bin distribution
140 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
141 FlightGear/bin/Win32 )
143 # make the win32-libs distribution (depricated)
145 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
146 Win32/README.glut Win32/cygwinb1.dll Win32/def \
147 Win32/*.exp Win32/gen-def-from-errors.pl \
148 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
149 Win32/impdef.exe Win32/include \
151 Win32/lib Win32/zlib.lib )
153 # make the MacOS (MWCWP3) devel support archive
155 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
157 # clean up dependencies
160 src/.deps tests/.deps \
165 # clean up after libtool
167 rm -rf .libs src/.libs \
170 rm -f src/*/so_locations \
173 # clean up after winbloze spews random case for file names :-(
174 clean-winbloze: clean-deps clean-libs
175 rm -f makefile src/Include/makefile src/makefile \
179 rm -f src/Main/fg.exe