]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Move the check-AUTHORS rule to be run as part of "make distcheck",
authorJim Meyering <jim@meyering.net>
Tue, 22 Aug 2006 10:13:37 +0000 (10:13 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 22 Aug 2006 10:13:37 +0000 (10:13 +0000)
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
Makefile.maint
src/Makefile.am

index e35cb3339d12f07fa86f3620e9ed0d71a87ed372..a3bc7d6bb29b88a4313dead9672e09a587311fc9 100644 (file)
--- 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
index 17b9d9be994f19ecee0b19c1d6b8f4d8ac6d0f73..0cc945de220af5fb6da54e5271ab20a4731b3ec8 100644 (file)
@@ -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.
index 245aec6b166ff1a715ed77cb59e641c62d48dcdd..c65d2be2a6773bcd8f57391e55b982ffb92268e9 100644 (file)
@@ -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)