5 EXTRA_DIST = Thanks VERSION acsite.m4 acconfig.h irix-hack.pl
8 tar --exclude docs-mini/CVS --exclude hints/CVS -cf - docs-mini hints \
9 | (cd $(distdir); tar xvf -)
10 # tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -)
13 ##########################################################################
14 # extra targets to do various things ...
17 ##########################################################################
20 # make the base distribution with textures, sounds and a bit of
21 # scenery, and all the other associated files
23 fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high
27 tar czvf fgfs-base-$(VERSION).tar.gz \
28 FlightGear/A[A-su-z]* \
29 FlightGear/[B-CE-R]* \
30 FlightGear/Scenery/w130n30/w123n37 \
31 FlightGear/Scenery/w130n30/w122n37 \
34 FlightGear/T[A-Za-df-z]* \
35 FlightGear/[U-W]* FlightGear/[c-m]*)
39 zip -rv fgfs-base-$(VERSION).zip \
40 FlightGear/A[A-su-z]* \
41 FlightGear/[B-CE-R]* \
42 FlightGear/Scenery/w130n30/w123n37 \
43 FlightGear/Scenery/w130n30/w122n37 \
46 FlightGear/T[A-Za-df-z]* \
47 FlightGear/[U-W]* FlightGear/[c-z]*)
51 tar --newer 9/18/2000 -czvf fgfs-base-patch-$(VERSION)b.tar.gz \
52 FlightGear/A[A-su-z]* \
53 FlightGear/[B-CE-R]* \
54 FlightGear/Scenery/w130n30/w123n37 \
55 FlightGear/Scenery/w130n30/w122n37 \
58 FlightGear/T[A-Za-df-z]* \
59 FlightGear/[U-W]* FlightGear/[c-m]*)
63 tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \
64 FlightGear/Textures.high)
66 # make the mini JSBsim data distribution
69 tar czvf jsbsim-data-$(VERSION).tar.gz \
73 # make the documentation distribution
75 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
79 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear-0.7/docs )
83 # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs )
87 zip -r fgfs-manual-$(VERSION).zip FlightGear-0.7/docs/InstallGuide )
89 # make the win32-bin distribution
93 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
95 # make the win32-libs distribution (depricated)
97 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
98 Win32/README.glut Win32/cygwinb1.dll Win32/def \
99 Win32/*.exp Win32/gen-def-from-errors.pl \
100 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
101 Win32/impdef.exe Win32/include \
103 Win32/lib Win32/zlib.lib )
105 # make the MacOS (MWCWP3) devel support archive
107 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
109 # clean up dependencies
112 src/.deps tests/.deps \
117 # clean up after libtool
119 rm -rf .libs src/.libs \
122 rm -f src/*/so_locations \
125 # clean up after winbloze spews random case for file names :-(
126 clean-winbloze: clean-deps clean-libs
127 rm -f makefile src/Include/makefile src/makefile \
131 rm -f src/Main/fg.exe