[commit: ghc] ghc-8.0: rules/sphinx: Add missing dependency on conf.py for pdf rule (0438321)

git at git.haskell.org git at git.haskell.org
Sat May 21 17:11:17 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/043832183538e7c0bdecaae2309a673427740ce5/ghc

>---------------------------------------------------------------

commit 043832183538e7c0bdecaae2309a673427740ce5
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat May 21 13:13:26 2016 +0200

    rules/sphinx: Add missing dependency on conf.py for pdf rule


>---------------------------------------------------------------

043832183538e7c0bdecaae2309a673427740ce5
 rules/sphinx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index 52fbe28..823a2af 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



More information about the ghc-commits mailing list