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.
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 .,_,$@)