summaryrefslogtreecommitdiff
path: root/rules/sphinx.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-05-21 13:13:26 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-21 19:10:59 +0200
commit6d6d6e4f47d023f3f6b1b5b3b4a3bad29f8fd98a (patch)
treec554f81c010cd56c78823f1a33dc1a920726d41e /rules/sphinx.mk
parente44a6f9deb4a789c059097ee8d8764911d7b6878 (diff)
downloadhaskell-6d6d6e4f47d023f3f6b1b5b3b4a3bad29f8fd98a.tar.gz
rules/sphinx: Add missing dependency on conf.py for pdf rule
Diffstat (limited to 'rules/sphinx.mk')
-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