]> git.mxchange.org Git - flightgear.git/blobdiff - Makefile.am
Filter fuel selector knob.
[flightgear.git] / Makefile.am
index fd3a165c71282babb7f906f53949d98319f6d3da..2ff8003b255911d395fa29b3d887bd64ca81a120 100644 (file)
@@ -1,15 +1,22 @@
 SUBDIRS = \
        tests \
-       src
-
-EXTRA_DIST = Thanks VERSION acsite.m4 acconfig.h irix-hack.pl \
-       FlightGear.dsp FlightGear.dsw
+       src \
+        scripts \
+       man
+
+EXTRA_DIST = \
+       Thanks \
+       acsite.m4 \
+       acconfig.h \
+       autogen.sh \
+       irix-hack.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-0.7/admin/am2dsp.pl)
+       (cd $(top_srcdir); tar --exclude docs-mini/CVS --exclude hints/CVS \
+               -cf - docs-mini ) | (cd $(distdir); tar xvf -)
 
 
 ##########################################################################
@@ -26,15 +33,18 @@ 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 \
+       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/T[A-Za-df-z]* \
-       FlightGear/[U-W]* FlightGear/[c-m]*)
+       FlightGear/[T-Za]* FlightGear/[c-z]*)
 
 fgfs-base-zip:
        (cd $(HOME); \
@@ -44,21 +54,18 @@ fgfs-base-zip:
        FlightGear/Scenery/w130n30/w123n37 \
        FlightGear/Scenery/w130n30/w122n37 \
        FlightGear/Sounds \
-       FlightGear/Textures \
-       FlightGear/T[A-Za-df-z]* \
-       FlightGear/[U-W]* FlightGear/[c-z]*)
+       FlightGear/[T-Za]* FlightGear/[c-z]* \
+       -x '*/CVS/*' -x '*/Textures/Unused/*' -x '*/Models/Aircraft/*' )
 
 fgfs-base-patch:
        (cd $(HOME); \
-       tar --newer 9/18/2000 -czvf fgfs-base-patch-$(VERSION)b.tar.gz \
+       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/T[A-Za-df-z]* \
-       FlightGear/[U-W]* FlightGear/[c-m]*)
+       FlightGear/[T-Za]* FlightGear/[c-z]*)
 
 fgfs-textures-high:
        (cd $(HOME); \
@@ -77,16 +84,16 @@ 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