diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-09-01 01:46:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-09-01 21:25:13 +0200 |
commit | 08466b8f89f8468674640ee0691528b66358fe7c (patch) | |
tree | 5d96ed0f7f1da7e7a360462b4626ea66b81540fa /src/nl.c | |
parent | 5e60e0d37e541d9f2311c7b60da61ba66a69f9e4 (diff) | |
download | coreutils-08466b8f89f8468674640ee0691528b66358fe7c.tar.xz |
build: fix generation of manpages for programs not built by default
* src/local.mk (dist-hook): Don't use this to ensure all the
programs, even the ones disabled by default or by the user, are
built (doing so is required to ensure the distributed manpages
are properly built). This would build those programs too late
anyway, causing errors like:
$ make dist
make dist-xz am__post_remove_distdir='@:'
make[1]: Entering directory `~/src/coreutils'
GEN man/arch.1
help2man: can't get '--help' info from man/arch.td/arch
make[1]: *** [man/arch.1] Error 127
make[1]: Leaving directory `~/src/coreutils'
make: *** [dist] Error 2
Instead, ...
* man/local.mk (extra_man_x, extra_man_1): define these ...
($(extra_man_1)): ... and make this depend on $(all_programs).
(EXTRA_DIST): Adjust.
Adjust some comments as well.
Diffstat (limited to 'src/nl.c')
0 files changed, 0 insertions, 0 deletions