]> Savannah Git Hosting - gnulib.git/commitdiff
test-framework-sh: init.sh: fix "make dist" failure
authorJim Meyering <meyering@redhat.com>
Sun, 1 Jan 2012 16:51:36 +0000 (17:51 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 1 Jan 2012 16:55:21 +0000 (17:55 +0100)
When using gnulib-tool's --with-tests option and any module that
depends on test-framework-sh, "make dist" would fail due to the
lack of init.sh *in lib/*.  The EXTRA_DIST += init.sh is required
in the gltests directory, and not in the gllib/ directory.
One way to work around that is to move the EXTRA_DIST += init.sh
from the primary module to the -tests one:
* modules/test-framework-sh-tests (EXTRA_DIST): Add init.sh here, ...
* modules/test-framework-sh (Makefile.am): ...not here.
Reported by Tom G. Christensen in
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/29519

ChangeLog
modules/test-framework-sh
modules/test-framework-sh-tests

index 185c64dfc198e90572da79e9e74eeacb730c754c..ccc923b9e7bda69423a95376b1e443ebe4f20328 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2012-01-01  Jim Meyering  <meyering@redhat.com>
 
+       test-framework-sh: init.sh: fix "make dist" failure
+       When using gnulib-tool's --with-tests option and any module that
+       depends on test-framework-sh, "make dist" would fail due to the
+       lack of init.sh *in lib/*.  The EXTRA_DIST += init.sh is required
+       in the gltests directory, and not in the gllib/ directory.
+       One way to work around that is to move the EXTRA_DIST += init.sh
+       from the primary module to the -tests one:
+       * modules/test-framework-sh-tests (EXTRA_DIST): Add init.sh here, ...
+       * modules/test-framework-sh (Makefile.am): ...not here.
+       Reported by Tom G. Christensen in
+       http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/29519
+
        version-etc: update copyright year reported by --version
        * lib/version-etc.c (COPYRIGHT_YEAR): Update to 2012.
 
index ee913a475f11ef45c18f0c02eca73f589dd0e8fd..249f426608b78848ef949a7375bcb16170191103 100644 (file)
@@ -9,7 +9,6 @@ Depends-on:
 configure.ac:
 
 Makefile.am:
-EXTRA_DIST += init.sh
 
 Include:
 
index 17dff9e3791a8d4f0582da15c209d45cda046d7c..38570f49e07c50dbb35ee4cb960a662ab109f78f 100644 (file)
@@ -7,3 +7,4 @@ configure.ac:
 
 Makefile.am:
 TESTS += test-init.sh
+EXTRA_DIST += init.sh