X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Makefile.am;h=2ff8003b255911d395fa29b3d887bd64ca81a120;hb=128dd77314a94fd9771c447641f40bde85fc4581;hp=c78d544c58ca1325ce34542e40002edb243697cd;hpb=59f2e56226f37c65f28cdf9785adab5d2f8ec720;p=flightgear.git diff --git a/Makefile.am b/Makefile.am index c78d544c5..2ff8003b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,22 @@ -SUBDIRS = Include Lib Simulator Tools Tests - -EXTRA_DIST = README.Unix README.Linux README.MacOS README.Win32 \ - README.autoconf README.running Thanks VERSION acsite.m4 acconfig.h \ - irix-hack.pl +SUBDIRS = \ + tests \ + src \ + scripts \ + man + +EXTRA_DIST = \ + Thanks \ + acsite.m4 \ + acconfig.h \ + autogen.sh \ + irix-hack.sh \ + FlightGear.dsp \ + FlightGear.dsw dist-hook: - tar cf - Hints | (cd $(distdir); tar xvf -) - tar cf - Simulator/FDM/JSBsim/aircraft Simulator/FDM/JSBsim/engine | (cd $(distdir); tar xvf -) + (cd $(top_srcdir); $(HOME)/projects/FlightGear-0.7/admin/am2dsp.pl) + (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \ + -cf - docs-mini ) | (cd $(distdir); tar xvf -) ########################################################################## @@ -19,41 +29,70 @@ dist-hook: # make the base distribution with textures, sounds and a bit of # scenery, and all the other associated files -fgfs-base: fgfs-base-tar fgfs-base-zip +fgfs-base: fgfs-base-tar fgfs-base-zip fgfs-base-patch fgfs-textures-high fgfs-base-tar: (cd $(HOME); \ - tar czvf fgfs-base-$(VERSION).tar.gz \ - FlightGear/[A-R]* \ - FlightGear/Scenery/w120n30/w111n33 \ + tar --exclude=CVS \ + --exclude='*/c172/Instruments.high' \ + --exclude='*/Models/Aircraft/*' \ + --exclude='*/Textures/Unused' \ + --exclude='*/Textures.high/*.save' \ + -czvf fgfs-base-$(VERSION).tar.gz \ + FlightGear/A[A-su-z]* \ + FlightGear/[B-CE-R]* \ + FlightGear/Scenery/w130n30/w123n37 \ + FlightGear/Scenery/w130n30/w122n37 \ FlightGear/Sounds \ - FlightGear/Textures FlightGear/Thanks \ - FlightGear/[m-r]* ) + FlightGear/[T-Za]* FlightGear/[c-z]*) fgfs-base-zip: (cd $(HOME); \ - zip -r fgfs-base-$(VERSION).zip \ - FlightGear/[A-R]* \ - FlightGear/Scenery/w120n30/w111n33 \ + zip -rv fgfs-base-$(VERSION).zip \ + FlightGear/A[A-su-z]* \ + FlightGear/[B-CE-R]* \ + FlightGear/Scenery/w130n30/w123n37 \ + FlightGear/Scenery/w130n30/w122n37 \ + FlightGear/Sounds \ + FlightGear/[T-Za]* FlightGear/[c-z]* \ + -x '*/CVS/*' -x '*/Textures/Unused/*' -x '*/Models/Aircraft/*' ) + +fgfs-base-patch: + (cd $(HOME); \ + tar --newer 6/18/2001 -czvf fgfs-base-patch-$(VERSION)c.tar.gz \ + FlightGear/A[A-su-z]* \ + FlightGear/[B-CE-R]* \ + FlightGear/Scenery/w130n30/w123n37 \ + FlightGear/Scenery/w130n30/w122n37 \ FlightGear/Sounds \ - FlightGear/Textures FlightGear/Thanks \ - FlightGear/[m-r]* ) + FlightGear/[T-Za]* FlightGear/[c-z]*) +fgfs-textures-high: + (cd $(HOME); \ + tar -czvf fgfs-textures-high-$(VERSION)b.tar.gz \ + FlightGear/Textures.high) + +# make the mini JSBsim data distribution +jsbsim-data: + (cd $(HOME); \ + tar czvf jsbsim-data-$(VERSION).tar.gz \ + FlightGear/Aircraft \ + FlightGear/Engine) # make the documentation distribution fgfs-docs: fgfs-docs-tar fgfs-manual-zip fgfs-docs-tar: - ( cd .. ; \ + ( cd $(HOME); \ tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs ) # fgfs-docs-zip: -# ( cd .. ; \ -# zip -r fgfs-docs-$(VERSION).zip FlightGear/Docs ) +# ( cd $(HOME)/projects ; \ +# zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs ) fgfs-manual-zip: - ( cd .. ; \ + ( cd $(HOME) ; \ zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide ) # make the win32-bin distribution @@ -62,7 +101,7 @@ fgfs-win32-bin: (cd $(HOME); \ zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin ) -# make the win32-libs distribution +# make the win32-libs distribution (depricated) win32-libs: ( zip -r ../win32-libs-$(VERSION).zip Win32/Makefile \ Win32/README.glut Win32/cygwinb1.dll Win32/def \ @@ -79,24 +118,23 @@ macos-devel: # clean up dependencies clean-deps: rm -rf .deps \ - Lib/.deps Simulator/.deps Tools/.deps Test/.deps \ - Lib/*/.deps Simulator/*/.deps Tools/*/.deps \ - Lib/*/*/.deps Simulator/*/*/.deps Tools/*/*/.deps \ - Tests/.deps + src/.deps tests/.deps \ + src/*/.deps \ + src/*/*/.deps \ + tests/.deps # clean up after libtool clean-libs: - rm -rf .libs Lib/.libs Simulator/.libs Tools/.libs \ - Lib/*/.libs Simulator/*/.libs Tools/*/.libs \ - Lib/*/*/.libs Simulator/*/*/.libs Tools/*/*/.libs - rm -f Simulator/*/so_locations Lib/*/so_locations \ - Simulator/*/*/so_locations Lib/*/*/so_locations + rm -rf .libs src/.libs \ + src/*/.libs \ + src/*/*/.libs + rm -f src/*/so_locations \ + src/*/*/so_locations # clean up after winbloze spews random case for file names :-( clean-winbloze: clean-deps clean-libs - rm -f makefile Include/makefile Lib/makefile Simulator/makefile \ - Tools/makefile \ - Lib/*/makefile Simulator/*/makefile Tools/*/makefile \ - Lib/*/*/makefile Simulator/*/*/makefile Tools/*/*/makefile \ - Tests/makefile - rm -f Src/Main/fg.exe Tools/*/*.exe + rm -f makefile src/Include/makefile src/makefile \ + src/*/makefile \ + src/*/*/makefile \ + tests/makefile + rm -f src/Main/fg.exe