summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-22 10:13:37 +0000
committerJim Meyering <jim@meyering.net>2006-08-22 10:13:37 +0000
commitcf7d6fe7bf3259645a26c92b6bfbf27648aabf22 (patch)
treee414e0c00b0ff0ec542890ac6f2c575eb2e6aae6 /Makefile.maint
parent86e16425417ed0d1f2da42b7b6e7145d69864091 (diff)
downloadcoreutils-cf7d6fe7bf3259645a26c92b6bfbf27648aabf22.tar.xz
Move the check-AUTHORS rule to be run as part of "make distcheck",
rather than "make check". * src/Makefile.am (check): Don't depend on check-AUTHORS; it would cause "make check" to fail on systems unable to build all binaries. * Makefile.maint (check-AUTHORS): New rule. (local-checks-available): Add it here. Reported by Bruno Haible. Needed for BeOS.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 17b9d9be9..0cc945de2 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -74,7 +74,7 @@ local-checks-available = \
po-check copyright-check writable-files m4-check author_mark_check \
changelog-check patch-check strftime-check $(syntax-check-rules) \
makefile_path_separator_check \
- makefile-check
+ makefile-check check-AUTHORS
.PHONY: $(local-checks-available)
local-check = $(filter-out $(local-checks-to-skip), $(local-checks-available))
@@ -308,6 +308,9 @@ strftime-check:
rm -f $@-src $@-info; \
fi
+check-AUTHORS:
+ $(MAKE) -C src $@
+
# Ensure that we use only the standard $(VAR) notation,
# not @...@ in Makefile.am, now that we can rely on automake
# to emit a definition for each substituted variable.