rules/sphinx: Add missing dependency on conf.py for pdf rule
authorBen Gamari <ben@smart-cactus.org>
Sat, 21 May 2016 11:13:26 +0000 (13:13 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 21 May 2016 17:10:59 +0000 (19:10 +0200)
rules/sphinx.mk

index 52fbe28..823a2af 100644 (file)
@@ -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