[COMMITTED PATCH] bfd/doc: Fix racy build failure from missing mkdir
Roland McGrath
mcgrathr@google.com
Tue Jan 25 22:37:15 GMT 2022
Oops! Thanks. I lost track of what all was generated from what.
On Tue, Jan 25, 2022 at 8:56 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> 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.
More information about the Binutils
mailing list