16 (cd $(top_srcdir); $(HOME)/projects/FlightGear-0.9/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
31 fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
36 --exclude='*/c172/Instruments.high' \
37 --exclude='*/Models/Aircraft/*' \
38 --exclude='*/Textures/Unused' \
39 --exclude='*/Textures.high/*.save' \
40 -czvf fgfs-base-$(VERSION).tar.gz \
41 FlightGear/A[A-su-z]* \
42 FlightGear/[B-CE-R]* \
43 FlightGear/Scenery/w130n30/w123n37 \
44 FlightGear/Scenery/w130n30/w122n37 \
46 FlightGear/[T-Za]* FlightGear/[c-z]*)
50 zip -rv fgfs-base-$(VERSION).zip \
51 FlightGear/A[A-su-z]* \
52 FlightGear/[B-CE-R]* \
53 FlightGear/Scenery/w130n30/w123n37 \
54 FlightGear/Scenery/w130n30/w122n37 \
56 FlightGear/[T-Za]* FlightGear/[c-z]* \
57 -x '*/CVS/*' -x '*/Textures/Unused/*' -x '*/Models/Aircraft/*' )
61 tar --newer 6/18/2001 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \
62 FlightGear/A[A-su-z]* \
63 FlightGear/[B-CE-R]* \
64 FlightGear/Scenery/w130n30/w123n37 \
65 FlightGear/Scenery/w130n30/w122n37 \
67 FlightGear/[T-Za]* FlightGear/[c-z]*)
71 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
72 FlightGear/Textures.high)
74 # make the mini JSBsim data distribution
77 tar czvf jsbsim-data-$(VERSION).tar.gz \
81 # make the documentation distribution
83 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
87 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
90 # ( cd $(HOME)/projects ; \
91 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
95 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
97 # make the win32-bin distribution
101 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \
102 FlightGear/bin/Win32 )
104 # make the win32-libs distribution (depricated)
106 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
107 Win32/README.glut Win32/cygwinb1.dll Win32/def \
108 Win32/*.exp Win32/gen-def-from-errors.pl \
109 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
110 Win32/impdef.exe Win32/include \
112 Win32/lib Win32/zlib.lib )
114 # make the MacOS (MWCWP3) devel support archive
116 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
118 # clean up dependencies
121 src/.deps tests/.deps \
126 # clean up after libtool
128 rm -rf .libs src/.libs \
131 rm -f src/*/so_locations \
134 # clean up after winbloze spews random case for file names :-(
135 clean-winbloze: clean-deps clean-libs
136 rm -f makefile src/Include/makefile src/makefile \
140 rm -f src/Main/fg.exe