16 (cd $(top_srcdir); $(HOME)/Projects/FlightGear/admin/am2dsp.pl)
17 (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
18 -cf - docs-mini ) | (cd $(distdir); tar xvf -)
21 ##########################################################################
22 # extra targets to do various things ...
25 ##########################################################################
28 # make the base distribution with textures, sounds and a bit of
29 # scenery, and all the other associated files
38 --exclude='*/c172/Instruments.high' \
39 --exclude='*/Textures/Unused' \
40 --exclude='*/Textures.high/*.save' \
41 --exclude='*/Textures.high/*.new' \
42 --exclude='*/Docs/source' \
43 --exclude='*/Models/MNUAV' \
45 data/Aircraft/Generic \
46 data/Aircraft/Instruments \
47 data/Aircraft/Instruments-3d \
55 data/Aircraft/c310u3a \
56 data/Aircraft/Citation \
59 data/Aircraft/Hunter \
61 data/Aircraft/pa28-161 \
63 data/Aircraft/wrightFlyer1903 \
74 data/cloudlayers.xml \
78 | bzip2 --best > fgfs-base-$(VERSION).tar.bz2 \
83 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
84 FlightGear/Textures.high)
86 # make the mini JSBsim data distribution
89 tar czvf jsbsim-data-$(VERSION).tar.gz \
93 # make the documentation distribution
95 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
99 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
102 # ( cd $(HOME)/Projects ; \
103 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
107 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
109 # make the win32-bin distribution
113 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
114 FlightGear/bin/Win32 )
116 # make the win32-libs distribution (depricated)
118 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
119 Win32/README.glut Win32/cygwinb1.dll Win32/def \
120 Win32/*.exp Win32/gen-def-from-errors.pl \
121 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
122 Win32/impdef.exe Win32/include \
124 Win32/lib Win32/zlib.lib )
126 # make the MacOS (MWCWP3) devel support archive
128 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
130 # clean up dependencies
133 src/.deps tests/.deps \
138 # clean up after libtool
140 rm -rf .libs src/.libs \
143 rm -f src/*/so_locations \
146 # clean up after winbloze spews random case for file names :-(
147 clean-winbloze: clean-deps clean-libs
148 rm -f makefile src/Include/makefile src/makefile \
152 rm -f src/Main/fg.exe