5 EXTRA_DIST = Thanks acsite.m4 acconfig.h irix-hack.sh \
6 FlightGear.dsp FlightGear.dsw
9 (cd $(top_srcdir); $(HOME)/projects/FlightGear-0.7/admin/am2dsp.pl)
10 (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
11 -cf - docs-mini hints) | (cd $(distdir); tar xvf -)
12 # tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
15 ##########################################################################
16 # extra targets to do various things ...
19 ##########################################################################
22 # make the base distribution with textures, sounds and a bit of
23 # scenery, and all the other associated files
25 fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
30 --exclude='*/c172/Instruments.high' \
31 --exclude='*/Models/Aircraft/*' \
32 --exclude='*/Textures/Unused' \
33 --exclude='*/Textures.high/*.save' \
34 -czvf fgfs-base-$(VERSION).tar.gz \
35 FlightGear/A[A-su-z]* \
36 FlightGear/[B-CE-R]* \
37 FlightGear/Scenery/w130n30/w123n37 \
38 FlightGear/Scenery/w130n30/w122n37 \
40 FlightGear/[T-Za]* FlightGear/[c-z]*)
44 zip -rv fgfs-base-$(VERSION).zip \
45 FlightGear/A[A-su-z]* \
46 FlightGear/[B-CE-R]* \
47 FlightGear/Scenery/w130n30/w123n37 \
48 FlightGear/Scenery/w130n30/w122n37 \
50 FlightGear/[T-Za]* FlightGear/[c-z]* \
51 -x '*/CVS/*' -x '*/Textures/Unused/*' -x '*/Models/Aircraft/*' )
55 tar --newer 6/18/2001 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \
56 FlightGear/A[A-su-z]* \
57 FlightGear/[B-CE-R]* \
58 FlightGear/Scenery/w130n30/w123n37 \
59 FlightGear/Scenery/w130n30/w122n37 \
61 FlightGear/[T-Za]* FlightGear/[c-z]*)
65 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
66 FlightGear/Textures.high)
68 # make the mini JSBsim data distribution
71 tar czvf jsbsim-data-$(VERSION).tar.gz \
75 # make the documentation distribution
77 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
81 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
84 # ( cd $(HOME)/projects ; \
85 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
89 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
91 # make the win32-bin distribution
95 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
97 # make the win32-libs distribution (depricated)
99 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
100 Win32/README.glut Win32/cygwinb1.dll Win32/def \
101 Win32/*.exp Win32/gen-def-from-errors.pl \
102 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
103 Win32/impdef.exe Win32/include \
105 Win32/lib Win32/zlib.lib )
107 # make the MacOS (MWCWP3) devel support archive
109 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
111 # clean up dependencies
114 src/.deps tests/.deps \
119 # clean up after libtool
121 rm -rf .libs src/.libs \
124 rm -f src/*/so_locations \
127 # clean up after winbloze spews random case for file names :-(
128 clean-winbloze: clean-deps clean-libs
129 rm -f makefile src/Include/makefile src/makefile \
133 rm -f src/Main/fg.exe