summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/sphinx.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index 52fbe28c57..823a2af06d 100644
--- a/rules/sphinx.mk
+++ b/rules/sphinx.mk
@@ -56,7 +56,7 @@ pdf_$1 : $1/$2.pdf
pdf : pdf_$1
ifneq "$$(BINDIST)" "YES"
-$1/$2.pdf: $$($1_RST_SOURCES)
+$1/$2.pdf: $1/conf.py $$($1_RST_SOURCES)
$(SPHINXBUILD) -b latex -d $1/.doctrees-pdf $(SPHINXOPTS) $1 $1/build-pdf/$2
cd $1/build-pdf/$2 ; xelatex $2.tex
cd $1/build-pdf/$2 ; xelatex $2.tex