]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: avoid "make dist" failure in man/
authorJim Meyering <meyering@redhat.com>
Wed, 19 Aug 2009 06:44:17 +0000 (08:44 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 19 Aug 2009 06:44:40 +0000 (08:44 +0200)
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.

src/Makefile.am

index fff5a9a59a1ffd4ee3535984edbe917162274a00..a03c16eca90615b0d4e701c50a9c2d79a735a4d1 100644 (file)
@@ -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