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
27 tar czvf fgfs-base-$(VERSION).tar.gz \
28 FlightGear/[A-CE-R]* \
29 FlightGear/Scenery/w120n30/w111n33 \
31 FlightGear/[T-W]* FlightGear/[c-m]*)
35 zip -ryv fgfs-base-$(VERSION).zip \
36 FlightGear/[A-CE-R]* \
37 FlightGear/Scenery/w120n30/w111n33 \
39 FlightGear/Textures FlightGear/Thanks \
40 FlightGear/[T-W]* FlightGear/[c-z]*)
42 # make the mini JSBsim data distribution
45 tar czvf jsbsim-data-$(VERSION).tar.gz \
49 # make the documentation distribution
51 fgfs-docs: fgfs-docs-tar fgfs-manual-zip
55 tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/docs )
59 # zip -r fgfs-docs-$(VERSION).zip FlightGear/docs )
63 zip -r fgfs-manual-$(VERSION).zip FlightGear/docs/InstallGuide )
65 # make the win32-bin distribution
69 zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin )
71 # make the win32-libs distribution (depricated)
73 ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \
74 Win32/README.glut Win32/cygwinb1.dll Win32/def \
75 Win32/*.exp Win32/gen-def-from-errors.pl \
76 Win32/glut.dll Win32/glut32.dll Win32/impdef.cpp \
77 Win32/impdef.exe Win32/include \
79 Win32/lib Win32/zlib.lib )
81 # make the MacOS (MWCWP3) devel support archive
83 ( cd ..; zip -r MWCWP3_Support.zip FlightGear/MWCWP3_Support )
85 # clean up dependencies
88 src/.deps tests/.deps \
93 # clean up after libtool
95 rm -rf .libs src/.libs \
98 rm -f src/*/so_locations \
101 # clean up after winbloze spews random case for file names :-(
102 clean-winbloze: clean-deps clean-libs
103 rm -f makefile src/Include/makefile src/makefile \
107 rm -f src/Main/fg.exe