summaryrefslogtreecommitdiff
path: root/rules/sphinx.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-03-08 13:06:47 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-11 20:00:36 -0500
commit5932247cda7a782a3d1325b9715095a7d25e8571 (patch)
treead208adf1ce990c26068d9e5d146eef387ba63c9 /rules/sphinx.mk
parentc98e8332e4a4d806ec53a69b57f38a15e9fab9d4 (diff)
downloadhaskell-5932247cda7a782a3d1325b9715095a7d25e8571.tar.gz
users guide: Eliminate spurious \spxentry mentions
We were failing to pass the style file to `makeindex`, as is done by the mklatex configuration generated by Sphinx. Fixes #20913.
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 2e24e50385..38692a8cdb 100644
--- a/rules/sphinx.mk
+++ b/rules/sphinx.mk
@@ -66,7 +66,7 @@ $1/$2.pdf: $1/conf.py $$($1_RST_SOURCES)
cd $1/build-pdf/$2 ; $(XELATEX) -halt-on-error $2.tex 2>/dev/null >/dev/null || true
cd $1/build-pdf/$2 ; $(XELATEX) -halt-on-error $2.tex 2>/dev/null >/dev/null || true
cd $1/build-pdf/$2 ; $(XELATEX) -halt-on-error $2.tex 2>/dev/null >/dev/null || true
- cd $1/build-pdf/$2 ; $(MAKEINDEX) $2.idx
+ cd $1/build-pdf/$2 ; $(MAKEINDEX) -s python.ist $2.idx
cd $1/build-pdf/$2 ; $(XELATEX) -halt-on-error $2.tex 2>/dev/null >/dev/null || true
cd $1/build-pdf/$2 ; $(XELATEX) -halt-on-error $2.tex
cp $1/build-pdf/$2/$2.pdf $1/$2.pdf