5 EXTRA_DIST = Thanks acsite.m4 acconfig.h irix-hack.pl \
6 FlightGear.dsp FlightGear.dsw
9 (cd $(top_srcdir); ../admin/am2dsp.pl)
10 tar --exclude docs-mini/CVS --exclude hints/CVS -cf - docs-mini hints \
11 | (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
29 tar czvf fgfs-base-$(VERSION).tar.gz \
30 FlightGear/A[A-su-z]* \
31 FlightGear/[B-CE-R]* \
32 FlightGear/Scenery/w130n30/w123n37 \
33 FlightGear/Scenery/w130n30/w122n37 \
36 FlightGear/T[A-Za-df-z]* \
37 FlightGear/[U-W]* FlightGear/[c-m]*)
41 zip -rv fgfs-base-$(VERSION).zip \
42 FlightGear/A[A-su-z]* \
43 FlightGear/[B-CE-R]* \
44 FlightGear/Scenery/w130n30/w123n37 \
45 FlightGear/Scenery/w130n30/w122n37 \
48 FlightGear/T[A-Za-df-z]* \
49 FlightGear/[U-W]* FlightGear/[c-z]*)
53 tar --newer 10/12/2000 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \
54 FlightGear/A[A-su-z]* \
55 FlightGear/[B-CE-R]* \
56 FlightGear/Scenery/w130n30/w123n37 \
57 FlightGear/Scenery/w130n30/w122n37 \
60 FlightGear/T[A-Za-df-z]* \
61 FlightGear/[U-W]* FlightGear/[c-m]*)
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-0.7/docs )
85 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
89 zip -r fgfs-manual-$(VERSION).zip FlightGear-0.7/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