bfd/doc: Fix racy build failure from missing mkdir
authorRoland McGrath <mcgrathr@google.com>
Mon, 24 Jan 2022 20:38:50 +0000 (12:38 -0800)
committerRoland McGrath <mcgrathr@google.com>
Mon, 24 Jan 2022 20:38:50 +0000 (12:38 -0800)
bfd/
* doc/local.mk (%D%/bfdver.texi): Add mkdir command.

bfd/ChangeLog
bfd/doc/local.mk

index 7371af1ea3a90a18c2b0e5967d1befd969bfd326..91abfb5ed99f0a6b3864eff3df22a2e09363ce6b 100644 (file)
@@ -1,3 +1,7 @@
+2022-01-24  Roland McGrath  <mcgrathr@google.com>
+
+       * doc/local.mk (%D%/bfdver.texi): Add mkdir command.
+
 2022-01-24  Nick Clifton  <nickc@redhat.com>
 
        * po/fr.po: Updated French translation.
index 18a2af1b01dca35d167a15c42b46a854cfaf50e5..6a9cceb727a57c2061007a4343776d9bf54c8770 100644 (file)
@@ -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)" >> $@; \