diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-05-21 13:20:15 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-05-21 19:10:59 +0200 |
commit | cf1efc7f0f97f272645af93491ca890137df3704 (patch) | |
tree | 02115c691c69346849436bc368399ee7d6b58d96 /rules | |
parent | 6d6d6e4f47d023f3f6b1b5b3b4a3bad29f8fd98a (diff) | |
download | haskell-cf1efc7f0f97f272645af93491ca890137df3704.tar.gz |
users-guide: Fix index in PDF output
The madness that is latex never ceases to amaze.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/sphinx.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/sphinx.mk b/rules/sphinx.mk index 823a2af06d..f3c46b449f 100644 --- a/rules/sphinx.mk +++ b/rules/sphinx.mk @@ -60,6 +60,10 @@ $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 + cd $1/build-pdf/$2 ; xelatex $2.tex + cd $1/build-pdf/$2 ; makeindex $2.idx + cd $1/build-pdf/$2 ; xelatex $2.tex + cd $1/build-pdf/$2 ; xelatex $2.tex cp $1/build-pdf/$2/$2.pdf $1/$2.pdf endif |