changeset 11734:20a8435e98c7

Exclude the maintainer-makefile module from big testdir builds.
author Bruno Haible <bruno@clisp.org>
date Sat, 25 Jul 2009 11:11:49 +0200
parents 65c13bc94058
children 1dc493668d2b
files ChangeLog gnulib-tool
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-07-25  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_create_testdir, func_create_megatestdir): Exclude
+	the maintainer-makefile module.
+	Reported by Matt Kraai <mkraai@beckman.com>.
+
 2009-07-23  Jim Meyering  <meyering@redhat.com>
 
 	maint.mk: invoke "make dist" with a working value of XZ_OPT
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -3818,9 +3818,10 @@
   if test -z "$modules"; then
     # All modules together.
     # Except config-h, which breaks all modules which use HAVE_CONFIG_H.
+    # Except maintainer-makefile, which requires a cfg.mk file.
     # Except ftruncate, mountlist, which abort the configuration on mingw. FIXME.
     modules=`func_all_modules`
-    modules=`for m in $modules; do case $m in config-h | ftruncate | mountlist) ;; *) echo $m;; esac; done`
+    modules=`for m in $modules; do case $m in config-h | maintainer-makefile | ftruncate | mountlist) ;; *) echo $m;; esac; done`
   fi
   modules=`for m in $modules; do echo $m; done | LC_ALL=C sort -u`
 
@@ -4311,7 +4312,8 @@
   done
   # Then, all modules all together.
   # Except config-h, which breaks all modules which use HAVE_CONFIG_H.
-  allmodules=`for m in $allmodules; do if test $m != config-h; then echo $m; fi; done`
+  # Except maintainer-makefile, which requires a cfg.mk file.
+  allmodules=`for m in $allmodules; do if test $m != config-h && test $m != maintainer-makefile; then echo $m; fi; done`
   func_create_testdir "$megatestdir/ALL" "$allmodules"
   func_append megasubdirs "ALL"