]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
maint: don't run help2man on programs not-yet-built.
authorGary V. Vaughan <gary@gnu.org>
Fri, 24 Sep 2010 21:18:04 +0000 (04:18 +0700)
committerGary V. Vaughan <gary@gnu.org>
Sat, 22 Oct 2011 11:36:16 +0000 (18:36 +0700)
* 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 <gary@gnu.org>
ChangeLog
Makefile.am

index e0ed89c23fdeb9013dde26698e4e66af03ec881f..839614c7e3b3071ad3f12346ea0dc072b0148a78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-01  Gary V. Vaughan  <gary@gnu.org>
+
+       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  <gary@gnu.org>
 
        tests: remove unused `aux_dir' variable from `getopt-m4sh.test'.
index 86234232bf0dde215b2bc2cea7d5c8dcd890fd15..2f7ac2da2112a21ef0299448c622da55085ff331 100644 (file)
@@ -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)