summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-19 08:44:17 +0200
committerJim Meyering <meyering@redhat.com>2009-08-19 08:44:40 +0200
commit112bccb26bc32081640d7d6c8b3ad29b0a4c7a2a (patch)
treeb7e2939dfbc11fcb85ac84332e291a17f462fae1
parent611870a8f399c86a009f6c2c5faf9fd6cdd3ae5f (diff)
downloadcoreutils-112bccb26bc32081640d7d6c8b3ad29b0a4c7a2a.tar.xz
build: avoid "make dist" failure in man/
Now that "make check" no longer builds programs like arch, ... * src/Makefile.am (dist-hook): Depend on $(all_programs), so that the subsequent build in man/ doesn't fail due to lack of a program like arch that is not going to be installed.
-rw-r--r--src/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fff5a9a59..a03c16eca 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -373,6 +373,11 @@ all_programs.list:
@echo $(all_programs) | tr ' ' '\n' | sed -e 's,$(EXEEXT)$$,,' \
| $(ASSORT) -u
+# This is required because we have broken inter-directory dependencies:
+# in order to generate all man pages, even those for which we don't
+# install a binary, require that all programs be built at distribution time.
+dist-hook: $(all_programs)
+
pm = progs-makefile
pr = progs-readme
# Ensure that the list of programs in README matches the list