From cf7d6fe7bf3259645a26c92b6bfbf27648aabf22 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 22 Aug 2006 10:13:37 +0000 Subject: [PATCH] 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. --- ChangeLog | 10 ++++++++++ Makefile.maint | 5 ++++- src/Makefile.am | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e35cb3339d..a3bc7d6bb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-08-22 Jim Meyering + + 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 * src/df.c (print_header, show_dev): Use a column width that diff --git a/Makefile.maint b/Makefile.maint index 17b9d9be99..0cc945de22 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 245aec6b16..c65d2be2a6 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) -- 2.47.3