From: Ralf Wildenhues Date: Sun, 23 May 2010 12:27:32 +0000 (+0200) Subject: Wildcards are not portable to NetBSD make. X-Git-Tag: v1.11.1b~84^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a76de290642486273507e6924c43c65ca7fe0c5;p=thirdparty%2Fautomake.git Wildcards are not portable to NetBSD make. * doc/automake.texi (Wildcards): Document portability issue. * tests/extra10.test, tests/extra11.test, tests/extra12.test: Require GNU make. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 64c2e59da..0ccbc2feb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-05-23 Ralf Wildenhues + + Wildcards are not portable to NetBSD make. + * doc/automake.texi (Wildcards): Document portability issue. + * tests/extra10.test, tests/extra11.test, tests/extra12.test: + Require GNU make. + 2010-05-23 Stefano Lattarini Make test for configure.in vs. configure.ac stricter. diff --git a/doc/automake.texi b/doc/automake.texi index f2b030caf..59018ca0d 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -10623,6 +10623,11 @@ incomplete project and is able to run @samp{make dist} successfully, even though a file is missing. By listing files, @samp{make dist} @emph{will} complain. +@item +Wildcards are not portable to some non-GNU @command{make} implementations, +e.g., NetBSD @command{make} will not expand globs such as @samp{*} in +prerequisites of a target. + @item Finally, it's really hard to @emph{forget} to add a file to @file{Makefile.am}: files that are not listed in @file{Makefile.am} are diff --git a/tests/extra10.test b/tests/extra10.test index 16d06a3dc..7bd655665 100755 --- a/tests/extra10.test +++ b/tests/extra10.test @@ -17,6 +17,7 @@ # Check that wildcards in EXTRA_DIST are honoured. # Suggested by observations from Braden McDaniel. +required=GNUmake . ./defs || Exit 1 set -e diff --git a/tests/extra11.test b/tests/extra11.test index 14dda4233..a0c55ca25 100755 --- a/tests/extra11.test +++ b/tests/extra11.test @@ -17,6 +17,7 @@ # Check for more complex usage of wildcards in EXTRA_DIST. # Suggested by observations from Braden McDaniel. +required=GNUmake . ./defs || Exit 1 set -e diff --git a/tests/extra12.test b/tests/extra12.test index 72b918cb9..db3bcc759 100755 --- a/tests/extra12.test +++ b/tests/extra12.test @@ -18,6 +18,7 @@ # $srcdir != $builddir, if properly declared. # Suggested by observations from Braden McDaniel. +required=GNUmake . ./defs || Exit 1 set -e