aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-06-25 14:29:10 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-06-25 14:33:56 +0100
commit9ac999f5007b35d72db67c64a1733edba1171f77 (patch)
tree4287f74844e02ca67f824d0b526a0fb7090c3450
parent79b836ef6b01e92f790206966214a7aeb3641d65 (diff)
downloadgdb-9ac999f5007b35d72db67c64a1733edba1171f77.zip
gdb-9ac999f5007b35d72db67c64a1733edba1171f77.tar.gz
gdb-9ac999f5007b35d72db67c64a1733edba1171f77.tar.bz2
gdb/doc: fix cannot create directory error when building dvi/pdf
After this commit: commit 0700386f142f0b0d3d0021995970a1b41c36cc92 (gdb-tmp-c) Date: Wed May 8 19:12:57 2024 +0100 gdb/doc: fix parallel build of pdf and dvi files When building the dvi or pdf targets you'd get errors like this: mkdir: cannot create directory ‘texi2dvi_tmpdir/gdb_dvi’: No such file or directory mkdir: cannot create directory ‘texi2dvi_tmpdir/gdb_pdf’: No such file or directory fixed by ensuring the directory is created before calling texi2dvi.
-rw-r--r--gdb/doc/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index cf10868..381ceae 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -71,6 +71,7 @@ TEXI2ROFF=texi2roff
TEXI2DVI=texi2dvi
TEXI2DVI_TMPDIR=texi2dvi_tmpdir
TEXI2DVI_CMD = rm -fr $(TEXI2DVI_TMPDIR)/$(subst .,_,$@) \
+ && mkdir -p $(TEXI2DVI_TMPDIR)/$(subst .,_,$@) \
&& $(TEXI2DVI) --build=tidy \
--build-dir=$(TEXI2DVI_TMPDIR)/$(subst .,_,$@)