From: Gary V. Vaughan Date: Fri, 24 Sep 2010 21:18:04 +0000 (+0700) Subject: maint: don't run help2man on programs not-yet-built. X-Git-Tag: v2.4.2.418~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f93b09fa58a8617c105fbe901ccd0650983d180b;p=thirdparty%2Flibtool.git maint: don't run help2man on programs not-yet-built. * Makefile.am (doc/libtool.1, doc/libtoolize.1): Added a comment about why the dependencies here have to be a mite bizarre. Signed-off-by: Gary V. Vaughan --- diff --git a/ChangeLog b/ChangeLog index e0ed89c23..839614c7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-09-01 Gary V. Vaughan + + maint: don't run help2man on programs not-yet-built. + * Makefile.am (doc/libtool.1, doc/libtoolize.1): Added a + comment about why the dependencies here have to be a mite + bizarre. + 2010-09-26 Gary V. Vaughan tests: remove unused `aux_dir' variable from `getopt-m4sh.test'. diff --git a/Makefile.am b/Makefile.am index 86234232b..2f7ac2da2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -395,6 +395,11 @@ MAINTAINERCLEANFILES += $(dist_man1_MANS) update_mans = \ PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \ $(HELP2MAN) --output='$@' + +# It's wrong to make distributed files (e.g. $(libtool_1)) rely on +# files created in the build tree, so instead we regenerate the +# manual pages if the sources for the build-tree files we want to +# run have changed. $(libtool_1): $(ltmain_sh) $(update_mans) --help-option=--help-all libtool $(libtoolize_1): $(libtoolize_in)