diff options
author | Jim Meyering <jim@meyering.net> | 2004-09-22 20:07:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-09-22 20:07:02 +0000 |
commit | acb87bd31ef5f80df0d0986577610ec6957aac64 (patch) | |
tree | 337d74156e54fc8c60c502c631116d14f4a7e016 /src/Makefile.in | |
parent | 365972638439afb68cc510125a52a8c7bd8953df (diff) | |
download | coreutils-acb87bd31ef5f80df0d0986577610ec6957aac64.tar.xz |
.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 27f021671..8f075f147 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.9.1 from Makefile.am. +# Makefile.in generated by automake 1.9.2 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, @@ -872,6 +872,10 @@ all_programs = \ pm = progs-makefile pr = progs-readme +# Ensure that the list of programs and author names is accurate. +au_dotdot = authors-dotdot +au_actual = authors-actual + # Extract the list of authors from each file. sed_filter = s/^ *//;s/N_ (//;s/^"//;s/")*$$// # Sometimes the string is on the same line as the #define... @@ -934,7 +938,7 @@ uninstall-binPROGRAMS: done clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS) installcheck-binPROGRAMS: $(bin_PROGRAMS) bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ @@ -1485,8 +1489,8 @@ distclean-generic: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." - -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \ @@ -1632,7 +1636,7 @@ all_programs.list: @echo $(all_programs) | tr ' ' '\n' | $(ASSORT) # 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) @@ -1641,6 +1645,24 @@ check-README: sed -n '/^The programs .* are:/,/^[a-zA-Z]/p' $(top_srcdir)/README \ | sed -n '/^ */s///p' | tr -s ' ' '\n' > $(pr) diff $(pm) $(pr) && rm -rf $(pr) $(pm) +.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. |