Skip to content

make html && make latexpdf fails with: *** No rule to make target 'all-pdf'. Stop. #10903

@marxin

Description

@marxin

Describe the bug

It's caused by my b1390c4 where now the following happens:

$ make clean ; make html  SPHINXBUILD=~/bin/venv/bin/sphinx-build && make latexpdf SPHINXBUILD=~/bin/venv/bin/sphinx-build
...
Running LaTeX files through pdflatex...
make LATEXMKOPTS="-interaction=nonstopmode -f" -C _build/latex all-pdf
make[1]: Entering directory '/home/marxin/Programming/texi2rst-generated/sphinx/gdc/_build/latex'
make[1]: *** No rule to make target 'all-pdf'.  Stop.
make[1]: Leaving directory '/home/marxin/Programming/texi2rst-generated/sphinx/gdc/_build/latex'
make: *** [Makefile:58: latexpdf] Error 2

Where _build/latex/ is an empty directory. Is there anything I forgot to change in the aforementioned commit or should I revert it?
@AA-Turner

How to Reproduce

See steps above.

Expected behavior

No response

Your project

Sphinx

Screenshots

No response

OS

Linux

Python version

3.10

Sphinx version

master

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions