22 (cd $(top_srcdir); $(HOME)/Projects/FlightGear/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 source/FlightGear-data-$(VERSION).tar.bz2 \
60 data/Aircraft/Generic \
61 data/Aircraft/Instruments \
62 data/Aircraft/Instruments-3d \
64 data/Aircraft/777-200 \
66 data/Aircraft/b1900d \
69 data/Aircraft/CitationX \
70 data/Aircraft/Dragonfly \
74 data/Aircraft/SenecaII \
75 data/Aircraft/sopwithCamel \
77 data/Aircraft/ZLT-NT \
83 data/cloudlayers.xml \
100 data/preferences.xml \
103 data/Scenery/Objects \
104 data/Scenery/Terrain \
113 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
114 FlightGear/Textures.high)
116 # make the mini JSBsim data distribution
119 tar czvf jsbsim-data-$(VERSION).tar.gz \
120 FlightGear/Aircraft \
123 # make the documentation distribution
125 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
129 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
132 # ( cd $(HOME)/Projects ; \
133 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
137 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
139 # make the win32-bin distribution
143 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
144 FlightGear/bin/Win32 )
146 # make the win32-libs distribution (depricated)
148 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
149 Win32/README.glut Win32/cygwinb1.dll Win32/def \
150 Win32/*.exp Win32/gen-def-from-errors.pl \
151 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
152 Win32/impdef.exe Win32/include \
154 Win32/lib Win32/zlib.lib )
156 # make the MacOS (MWCWP3) devel support archive
158 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
160 # clean up dependencies
163 src/.deps tests/.deps \
168 # clean up after libtool
170 rm -rf .libs src/.libs \
173 rm -f src/*/so_locations \
176 # clean up after winbloze spews random case for file names :-(
177 clean-winbloze: clean-deps clean-libs
178 rm -f makefile src/Include/makefile src/makefile \
182 rm -f src/Main/fg.exe