[commit: ghc] master: rules/sphinx: Add missing dependency on conf.py for pdf rule (6d6d6e4)

git at git.haskell.org git at git.haskell.org
Sat May 21 18:14:44 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6d6d6e4f47d023f3f6b1b5b3b4a3bad29f8fd98a/ghc

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

commit 6d6d6e4f47d023f3f6b1b5b3b4a3bad29f8fd98a
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


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

6d6d6e4f47d023f3f6b1b5b3b4a3bad29f8fd98a
 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