[PATCH] libctf: merge doc subdir up a level
Mike Frysinger
vapier@gentoo.org
Thu Dec 2 04:41:59 GMT 2021
On 01 Dec 2021 15:16, Nick Clifton wrote:
> > This avoids a recursive make into the doc subdir and speeds up the
> > build slightly. It also allows for more parallelism.
>
> Will this have the same problems as the change for the bfd directory's documentation ?
binutil's troubles centered around the man page generation and some of
the generated texinfo fragments. libctf doesn't do any of that, so it
shouldn't run into the same issues.
i'll add a dirstamp dep for the html dep too though.
-mike
--- a/libctf/doc/local.mk
+++ b/libctf/doc/local.mk
@@ -26,6 +26,6 @@ DISTCLEANFILES += texput.log
MAINTAINERCLEANFILES += %D%/ctf-spec.info
html-local: %D%/ctf-spec/index.html
-%D%/ctf-spec/index.html: %D%/ctf-spec.texi
+%D%/ctf-spec/index.html: %D%/ctf-spec.texi %D%/$(am__dirstamp)
$(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
--split=node -I$(srcdir) --output %D%/ctf-spec $(srcdir)/%D%/ctf-spec.texi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20211201/843ba89e/attachment.sig>
More information about the Binutils
mailing list