[COMMITTED PATCH] bfd/doc: Fix racy build failure from missing mkdir
Roland McGrath
mcgrathr@google.com
Mon Jan 24 20:44:36 GMT 2022
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)" >> $@; \
More information about the Binutils
mailing list