summaryrefslogtreecommitdiff
path: root/m4/Makefile.in
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2002-06-08 16:56:11 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2002-06-08 16:56:11 +0000
commit7bb1f82b5e617bf24e6a511b4db1a375bf4d03e4 (patch)
treee34e4010422afb3e690b6150c2000b95a84981bd /m4/Makefile.in
parent82e8eac0b6a28f3b7239e42d6ce813749b129751 (diff)
downloadautomake-7bb1f82b5e617bf24e6a511b4db1a375bf4d03e4.tar.gz
For PR automake/317:
* Makefile.am (maintainer-check): Disallow `for f in $(FILES)', suggest `list='$(FILES)'; for f in $$list' instead. * lib/am/distdir.am (distdir): Adjust `for' usage. * lib/am/texinfos.am (maintainer-clean-aminfo): Likewise. * tests/dollar.test: New file. * tests/Makefile.am (TESTS): Add dollar.test. Reported by Eric Siegerman and Philip Fong.
Diffstat (limited to 'm4/Makefile.in')
-rw-r--r--m4/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/Makefile.in b/m4/Makefile.in
index e13113912..324fb5a24 100644
--- a/m4/Makefile.in
+++ b/m4/Makefile.in
@@ -158,7 +158,7 @@ top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
- @for file in $(DISTFILES); do \
+ @list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
@@ -204,7 +204,7 @@ mostlyclean-generic:
clean-generic:
distclean-generic:
- -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic: