X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Makefile.am;h=964b806fc4ee8c410a93eeb7145d0c9e6292e950;hb=ea177f6744f7f48264a8a5897da183e942ac29bf;hp=d1124d23b49df58246b4fb3c464b08a6af99a3bc;hpb=0d457e78e2f6c6a9a0bf31dba3426531b132e572;p=flightgear.git diff --git a/Makefile.am b/Makefile.am index d1124d23b..964b806fc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,21 @@ SUBDIRS = \ tests \ - src - -EXTRA_DIST = Thanks acsite.m4 acconfig.h irix-hack.pl \ - FlightGear.dsp FlightGear.dsw + man \ + scripts \ + src \ + utils + +EXTRA_DIST = \ + Thanks \ + acinclude.m4 \ + autogen.sh \ + FlightGear.dsp \ + FlightGear.dsw dist-hook: - (cd $(top_srcdir); ../admin/am2dsp.pl) - tar --exclude docs-mini/CVS --exclude hints/CVS -cf - docs-mini 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/admin/am2dsp.pl) + (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \ + -cf - docs-mini ) | (cd $(distdir); tar xvf -) ########################################################################## @@ -22,38 +28,56 @@ 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-patch fgfs-textures-high - fgfs-base-tar: - (cd $(HOME); \ - tar --exclude=CVS -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/[T-Za]* FlightGear/[c-z]*) - -fgfs-base-zip: - (cd $(HOME); \ - 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/*' ) - -fgfs-base-patch: - (cd $(HOME); \ - tar --newer 10/12/2000 -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/[T-Za]* FlightGear/[c-z]*) + (cd ..; \ + tar \ + --exclude=CVS \ + --exclude='*~' \ + --exclude='*.tex' \ + --exclude='*.xcf' \ + --exclude='*/c172/Instruments.high' \ + --exclude='*/Textures/Unused' \ + --exclude='*/Textures.high/*.save' \ + --exclude='*/Textures.high/*.new' \ + --exclude='*/Docs/source' \ + --exclude='*/Models/MNUAV' \ + -cvf - \ + data/Aircraft/Generic \ + data/Aircraft/Instruments \ + data/Aircraft/Instruments-3d \ + data/Aircraft/UIUC \ + data/Aircraft/737 \ + data/Aircraft/A-10 \ + data/Aircraft/bo105 \ + data/Aircraft/c172 \ + data/Aircraft/c172p \ + data/Aircraft/c310 \ + data/Aircraft/c310u3a \ + data/Aircraft/Citation \ + data/Aircraft/f16 \ + data/Aircraft/j3cub \ + data/Aircraft/Hunter \ + data/Aircraft/p51d \ + data/Aircraft/pa28-161 \ + data/Aircraft/T38 \ + data/Aircraft/ufo \ + data/Aircraft/wrightFlyer1903 \ + data/Airports \ + data/Astro \ + data/ATC \ + data/AUTHORS \ + data/[C-H]* \ + data/Input \ + data/[J-R]* \ + data/Scenery \ + data/Sounds \ + data/T* \ + data/cloudlayers.xml \ + data/gui \ + data/[j-p]* \ + data/version \ + | bzip2 --best > fgfs-base-$(VERSION).tar.bz2 \ + ) fgfs-textures-high: (cd $(HOME); \ @@ -72,22 +96,23 @@ jsbsim-data: fgfs-docs: fgfs-docs-tar fgfs-manual-zip fgfs-docs-tar: - ( cd ../.. ; \ - tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear-0.7/docs ) + ( cd $(HOME); \ + tar czvf fgfs-docs-$(VERSION).tar.gz FlightGear/Docs ) # fgfs-docs-zip: -# ( cd ../.. ; \ +# ( cd $(HOME)/Projects ; \ # zip -r fgfs-docs-$(VERSION).zip FlightGear-0.7/docs ) fgfs-manual-zip: - ( cd ../.. ; \ - zip -r fgfs-manual-$(VERSION).zip FlightGear-0.7/docs/InstallGuide ) + ( cd $(HOME) ; \ + zip -r fgfs-manual-$(VERSION).zip FlightGear/Docs/InstallGuide ) # make the win32-bin distribution fgfs-win32-bin: (cd $(HOME); \ - zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/bin ) + zip -r fgfs-win32-bin-$(VERSION).zip FlightGear/runfgfs.bat \ + FlightGear/bin/Win32 ) # make the win32-libs distribution (depricated) win32-libs: