]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: modernize: use $(var) makefile notation, not @var@
authorJim Meyering <meyering@redhat.com>
Sat, 21 Mar 2009 08:56:00 +0000 (09:56 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 21 Mar 2009 08:58:32 +0000 (09:58 +0100)
* maint.mk (sc_makefile_path_separator_check): Recommend
the use of $(PATH_SEPARATOR), not @PATH_SEPARATOR@.
Remove an obsolete comment.

maint.mk

index 0c1ad24a6b071d7fd731c3019f62a1f04f17564f..17f0be83fedb553ba8ac9a9deeed9d7889f59e78 100644 (file)
--- a/maint.mk
+++ b/maint.mk
@@ -581,11 +581,8 @@ sc_po_check:
 
 # Sometimes it is useful to change the PATH environment variable
 # in Makefiles.  When doing so, it's better not to use the Unix-centric
-# path separator of `:', but rather the automake-provided `@PATH_SEPARATOR@'.
-# It'd be better to use `find -print0 ...|xargs -0 ...', but less portable,
-# and there probably aren't many projects with so many Makefile.am files
-# that we'd have to worry about limits on command line length.
-msg = '$(ME): Do not use `:'\'' above; use @PATH_SEPARATOR@ instead'
+# path separator of `:', but rather the automake-provided `$(PATH_SEPARATOR)'.
+msg = '$(ME): Do not use `:'\'' above; use $$(PATH_SEPARATOR) instead'
 sc_makefile_path_separator_check:
        @grep -n 'PATH=.*:' `find $(srcdir) -name Makefile.am` \
          && { echo $(msg) 1>&2; exit 1; } || :