|
| From: | Eric Blake |
| Subject: | Re: [PATCH 1/r47] maint: help2man targets should rely on the binaries they call. |
| Date: | Wed, 22 Sep 2010 12:19:28 -0600 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3 |
On 09/22/2010 12:13 PM, Ralf Wildenhues wrote:
Is it acceptable instead to use a nested $(MAKE) invocation prior to running help2man to ensure the binary is up-to-date?Can you show a patch so I can see what you mean?
diff --git i/Makefile.am w/Makefile.am
index 6e29a29..f74708c 100644
--- i/Makefile.am
+++ w/Makefile.am
@@ -327,8 +327,10 @@ update_mans = \
PATH=.$(PATH_SEPARATOR)$$PATH; export PATH; \
$(HELP2MAN) --output=$@
$(srcdir)/doc/libtool.1: $(srcdir)/$(auxdir)/ltmain.sh
+ $(MAKE) libtool
$(update_mans) --help-option=--help-all libtool
$(srcdir)/doc/libtoolize.1: $(srcdir)/libtoolize.in
+ $(MAKE) libtoolize
$(update_mans) libtoolize
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
| [Prev in Thread] | Current Thread | [Next in Thread] |