[COMMITTED PATCH] bfd/doc: Fix racy build failure from missing mkdir
H.J. Lu
hjl.tools@gmail.com
Tue Jan 25 16:55:47 GMT 2022
On Mon, Jan 24, 2022 at 12:45 PM Roland McGrath via Binutils
<binutils@sourceware.org> wrote:
>
> I'm not sure how new this is, but I've started seeing a build failure
> from bfd/doc not existing in the build directory.
> Committed as obvious enough.
>
> Thanks,
> Roland
>
> bfd/
> 2022-01-24 Roland McGrath <mcgrathr@google.com>
>
> * doc/local.mk (%D%/bfdver.texi): Add mkdir command.
>
> diff --git a/bfd/doc/local.mk b/bfd/doc/local.mk
> index 18a2af1b01d..6a9cceb727a 100644
> --- a/bfd/doc/local.mk
> +++ b/bfd/doc/local.mk
> @@ -127,6 +127,7 @@ REGEN_TEXI = \
>
> %D%/bfdver.texi: $(srcdir)/Makefile.in
> $(AM_V_GEN)\
> + $(MKDIR_P) $(@D); \
> echo "@set VERSION $(VERSION)" > $@; \
> if test -n "$(PKGVERSION)"; then \
> echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@; \
I am checking in this.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bfd-Regenerate-Makefile.in.patch
Type: text/x-patch
Size: 737 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20220125/c4428a99/attachment.bin>
More information about the Binutils
mailing list