summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 84cab1968..f749dcdda 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.6a from Makefile.am.
+# Makefile.in generated by automake 1.6b from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -256,6 +256,13 @@ MAINTAINERCLEANFILES = dircolors.h \
wheel_size = 5
BUILT_SOURCES = dircolors.h false.c wheel.h wheel-size.h
+
+# false exits nonzero even with --help or --version.
+# Tell automake to exempt it from that installcheck test.
+AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = false
+
+pm = progs-makefile
+pr = progs-readme
subdir = src
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
@@ -813,7 +820,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 \
@@ -1702,6 +1709,17 @@ false.c: true.c
-e 's/^ exit (EXIT_SUCCESS/ exit (EXIT_FAILURE/g' \
$(srcdir)/true.c > $@-t
mv $@-t $@
+# Ensure that the list of programs in README matches the list
+# of programs we can build.
+check: check-README
+.PHONY: check-README
+check-README:
+ rm -rf $(pr) $(pm)
+ echo $(EXTRA_PROGRAMS) $(EXTRA_SCRIPTS) $(bin_SCRIPTS) $(bin_PROGRAMS) \
+ | tr -s ' ' '\n' | sort -u > $(pm)
+ 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)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: