From: James Turner Date: Sat, 7 Aug 2010 08:09:58 +0000 (+0100) Subject: Ensure 'make dist' works. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c294915c8ac4e225a0f0e0f959d0a2b076b2fe0;p=simgear.git Ensure 'make dist' works. --- diff --git a/Makefile.am b/Makefile.am index f88767c3..24cddecf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 # diff --git a/simgear/Makefile.am b/simgear/Makefile.am index e13a9d72..9bd77efc 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -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 +