7 EXTRA_DIST = Thanks acsite.m4 acconfig.h irix-hack.sh \
8 FlightGear.dsp FlightGear.dsw
11 (cd $(top_srcdir); $(HOME)/projects/FlightGear-0.7/admin/am2dsp.pl)
12 (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
13 -cf - docs-mini ) | (cd $(distdir); tar xvf -)
16 ##########################################################################
17 # extra targets to do various things ...
20 ##########################################################################
23 # make the base distribution with textures, sounds and a bit of
24 # scenery, and all the other associated files
26 fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
31 --exclude='*/c172/Instruments.high' \
32 --exclude='*/Models/Aircraft/*' \
33 --exclude='*/Textures/Unused' \
34 --exclude='*/Textures.high/*.save' \
35 -czvf fgfs-base-$(VERSION).tar.gz \
36 FlightGear/A[A-su-z]* \
37 FlightGear/[B-CE-R]* \
38 FlightGear/Scenery/w130n30/w123n37 \
39 FlightGear/Scenery/w130n30/w122n37 \
41 FlightGear/[T-Za]* FlightGear/[c-z]*)
45 zip -rv fgfs-base-$(VERSION).zip \
46 FlightGear/A[A-su-z]* \
47 FlightGear/[B-CE-R]* \
48 FlightGear/Scenery/w130n30/w123n37 \
49 FlightGear/Scenery/w130n30/w122n37 \
51 FlightGear/[T-Za]* FlightGear/[c-z]* \
52 -x '*/CVS/*' -x '*/Textures/Unused/*' -x '*/Models/Aircraft/*' )
56 tar --newer 6/18/2001 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \
57 FlightGear/A[A-su-z]* \
58 FlightGear/[B-CE-R]* \
59 FlightGear/Scenery/w130n30/w123n37 \
60 FlightGear/Scenery/w130n30/w122n37 \
62 FlightGear/[T-Za]* FlightGear/[c-z]*)
66 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
67 FlightGear/Textures.high)
69 # make the mini JSBsim data distribution
72 tar czvf jsbsim-data-$(VERSION).tar.gz \
76 # make the documentation distribution
78 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
82 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs )
85 # ( cd $(HOME)/projects ; \
86 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
90 zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide )
92 # make the win32-bin distribution
96 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
98 # make the win32-libs distribution (depricated)
100 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
101 Win32/README.glut Win32/cygwinb1.dll Win32/def \
102 Win32/*.exp Win32/gen-def-from-errors.pl \
103 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
104 Win32/impdef.exe Win32/include \
106 Win32/lib Win32/zlib.lib )
108 # make the MacOS (MWCWP3) devel support archive
110 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
112 # clean up dependencies
115 src/.deps tests/.deps \
120 # clean up after libtool
122 rm -rf .libs src/.libs \
125 rm -f src/*/so_locations \
128 # clean up after winbloze spews random case for file names :-(
129 clean-winbloze: clean-deps clean-libs
130 rm -f makefile src/Include/makefile src/makefile \
134 rm -f src/Main/fg.exe