"Dmitry V. Levin" <[EMAIL PROTECTED]> wrote: > The AUTHORS file is out of date:
Thanks for pointing that out. I've fixed it and made this change to ensure it stays in sync with any new changes: 2004-09-22 Jim Meyering <[EMAIL PROTECTED]> * src/Makefile.am (check-AUTHORS): New rule. (check): Depend on it. * AUTHORS: Update. Index: src/Makefile.am =================================================================== RCS file: /fetish/cu/src/Makefile.am,v retrieving revision 1.43 diff -u -p -r1.43 Makefile.am --- src/Makefile.am 13 Sep 2004 13:05:08 -0000 1.43 +++ src/Makefile.am 20 Sep 2004 08:33:13 -0000 @@ -232,7 +232,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: check-README check-misc check-AUTHORS .PHONY: check-README check-README: rm -rf $(pr) $(pm) @@ -242,6 +242,28 @@ check-README: | sed -n '/^ */s///p' | tr -s ' ' '\n' > $(pr) diff $(pm) $(pr) && rm -rf $(pr) $(pm) +# Ensure that the list of programs and author names is accurate. +au_dotdot = authors-dotdot +au_actual = authors-actual +.PHONY: check-AUTHORS +check-AUTHORS: $(all_programs) + rm -f $(au_actual) $(au_dotdot) + for i in $(all_programs); do \ + test "$$i" = '[' && continue; \ + exe=$$i; \ + if test "$$i" = install; then \ + exe=ginstall; \ + elif test "$$i" = test; then \ + exe='['; \ + fi; \ + ./printf "$$i: "; \ + ./$$exe --version \ + |sed -n '/Written by /s///p' \ + |sed 's/,\? and /, /;s/\.$$//'; \ + done | $(ASSORT) > $(au_actual) + sed -n '/:/p' $(top_srcdir)/AUTHORS > $(au_dotdot) + diff $(au_actual) $(au_dotdot) && rm -f $(au_actual) $(au_dotdot) + # Make sure we don't define any S_IS* macros in src/*.c files. # Not a big deal, but they're already defined via system.h. # _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils