summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog10
-rw-r--r--Makefile.maint5
-rw-r--r--src/Makefile.am2
3 files changed, 15 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e35cb3339..a3bc7d6bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2006-08-22 Jim Meyering <jim@meyering.net>
+
+ 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.
+
2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
* src/df.c (print_header, show_dev): Use a column width that
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.
diff --git a/src/Makefile.am b/src/Makefile.am
index 245aec6b1..c65d2be2a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -267,7 +267,7 @@ pm = progs-makefile
pr = progs-readme
# Ensure that the list of programs in README matches the list
# of programs we can build.
-check: check-README check-misc check-AUTHORS
+check: check-README check-misc
.PHONY: check-README
check-README:
rm -rf $(pr) $(pm)