5 EXTRA_DIST = Thanks acsite.m4 acconfig.h irix-hack.pl \
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
29 tar --exclude=CVS --exclude='*/Textures/Unused' \
30 -czvf fgfs-base-$(VERSION).tar.gz \
31 FlightGear/A[A-su-z]* \
32 FlightGear/[B-CE-R]* \
33 FlightGear/Scenery/w130n30/w123n37 \
34 FlightGear/Scenery/w130n30/w122n37 \
36 FlightGear/[T-Za]* FlightGear/[c-z]*)
40 zip -rv fgfs-base-$(VERSION).zip \
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]* \
47 -x '*/CVS/*' -x '*/Textures/Unused/*' )
51 tar --newer 10/12/2000 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \
52 FlightGear/A[A-su-z]* \
53 FlightGear/[B-CE-R]* \
54 FlightGear/Scenery/w130n30/w123n37 \
55 FlightGear/Scenery/w130n30/w122n37 \
57 FlightGear/[T-Za]* FlightGear/[c-z]*)
61 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
62 FlightGear/Textures.high)
64 # make the mini JSBsim data distribution
67 tar czvf jsbsim-data-$(VERSION).tar.gz \
71 # make the documentation distribution
73 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
76 ( cd $(HOME)/projects ; \
77 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear-0.7/docs )
80 # ( cd $(HOME)/projects ; \
81 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
84 ( cd $(HOME)/projects ; \
85 zip -r fgfs-manual-$(VERSION).zip FlightGear-0.7/docs/InstallGuide )
87 # make the win32-bin distribution
91 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
93 # make the win32-libs distribution (depricated)
95 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
96 Win32/README.glut Win32/cygwinb1.dll Win32/def \
97 Win32/*.exp Win32/gen-def-from-errors.pl \
98 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
99 Win32/impdef.exe Win32/include \
101 Win32/lib Win32/zlib.lib )
103 # make the MacOS (MWCWP3) devel support archive
105 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
107 # clean up dependencies
110 src/.deps tests/.deps \
115 # clean up after libtool
117 rm -rf .libs src/.libs \
120 rm -f src/*/so_locations \
123 # clean up after winbloze spews random case for file names :-(
124 clean-winbloze: clean-deps clean-libs
125 rm -f makefile src/Include/makefile src/makefile \
129 rm -f src/Main/fg.exe