]> git.mxchange.org Git - simgear.git/commitdiff
Ensure 'make dist' works.
authorJames Turner <zakalawe@mac.com>
Sat, 7 Aug 2010 08:09:58 +0000 (09:09 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 7 Aug 2010 08:09:58 +0000 (09:09 +0100)
Makefile.am
simgear/Makefile.am

index f88767c37d7fb194a480d578987d04cc5ce909c0..24cddecf1a3cc9d10adca6939caa94cc469b23c1 100644 (file)
@@ -10,10 +10,6 @@ EXTRA_DIST = \
 
 SUBDIRS        = simgear
 
-dist-hook:
-       (cd $(top_srcdir); $(HOME)/Projects/FlightGear/admin/am2dsp.pl)
-       rm -rf `find $(distdir)/projects -name CVS`
-
 #
 # Rule to build RPM distribution package
 #
index e13a9d72fdb38852bc1e6923722654b3fbecd042..9bd77efc97dff0fb92b24c5ade92d93e2e20d483 100644 (file)
@@ -17,8 +17,7 @@ else
 SGTHREAD_DIR = 
 endif
 
-SUBDIRS = \
-       $(compatibility_DIR) \
+SUBDIRS_ALWAYS = \
        xml \
        debug \
        misc \
@@ -28,13 +27,17 @@ SUBDIRS = \
        io \
        magvar \
        math \
-       $(METAR_DIRS) \
        nasal \
        props \
        route \
-       $(SG_EXTRA_DIRS) \
-       $(SGTHREAD_DIR) \
        serial \
        timing
 
-DIST_SUBDIRS = $(SUBDIRS) compatibility
+SUBDIRS = $(SUBDIRS_ALWAYS) \
+       $(compatibility_DIR) \
+       $(METAR_DIRS) \
+       $(SG_EXTRA_DIRS) \
+       $(SGTHREAD_DIR)
+
+DIST_SUBDIRS = $(SUBDIRS_ALWAYS) compatibility scene sound screen environment threads
+