20 (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
21 -cf - docs-mini ) | (cd $(distdir); tar xvf -)
22 rm -rf `find $(distdir)/projects -name CVS`
25 ##########################################################################
26 # extra targets to do various things ...
29 ##########################################################################
32 # make the base distribution with textures, sounds and a bit of
33 # scenery, and all the other associated files
35 # note, fedora core tar does case insensitive wildcard matching for
36 # directories, but apparently not files ... some stupid reason. :-(
45 --exclude='*/c172/Instruments.high' \
46 --exclude='*/Textures/Unused' \
47 --exclude='*/Textures/*.orig' \
48 --exclude='*/Textures.high/*.new' \
49 --exclude='*/Textures.high/*.orig' \
50 --exclude='*/Textures.high/*.save' \
51 --exclude='*/data/Data' \
52 --exclude='*/Docs/source' \
53 --exclude='*/Models/MNUAV' \
54 --exclude='*/Models/Airspace' \
55 -cjvf FlightGear-data-$(VERSION).tar.bz2 \
57 data/Aircraft/Generic \
58 data/Aircraft/Instruments \
59 data/Aircraft/Instruments-3d \
61 data/Aircraft/777-200 \
63 data/Aircraft/b1900d \
66 data/Aircraft/CitationX \
67 data/Aircraft/Dragonfly \
71 data/Aircraft/SenecaII \
72 data/Aircraft/sopwithCamel \
74 data/Aircraft/ZLT-NT \
80 data/cloudlayers.xml \
98 data/preferences.xml \
101 data/Scenery/Airports \
102 data/Scenery/Objects \
103 data/Scenery/Terrain \
112 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
113 FlightGear/Textures.high)
115 # make the mini JSBsim data distribution
118 tar czvf jsbsim-data-$(VERSION).tar.gz \
119 FlightGear/Aircraft \
122 # make the documentation distribution
124 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
128 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
131 # ( cd $(HOME)/Projects ; \
132 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
136 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
138 # make the win32-bin distribution
142 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
143 FlightGear/bin/Win32 )
145 # make the win32-libs distribution (depricated)
147 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
148 Win32/README.glut Win32/cygwinb1.dll Win32/def \
149 Win32/*.exp Win32/gen-def-from-errors.pl \
150 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
151 Win32/impdef.exe Win32/include \
153 Win32/lib Win32/zlib.lib )
155 # make the MacOS (MWCWP3) devel support archive
157 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
159 # clean up dependencies
162 src/.deps tests/.deps \
167 # clean up after libtool
169 rm -rf .libs src/.libs \
172 rm -f src/*/so_locations \
175 # clean up after winbloze spews random case for file names :-(
176 clean-winbloze: clean-deps clean-libs
177 rm -f makefile src/Include/makefile src/makefile \
181 rm -f src/Main/fg.exe