Skip to content

Commit 39e0009

Browse files
Elly Jonesbrson
authored andcommitted
docs: work around texi2dvi bug. (#1134)
1 parent 1087f4b commit 39e0009

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

mk/docs.mk

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ doc/version.texi: $(MKFILES) rust.texi
1212

1313
doc/%.pdf: %.texi doc/version.texi
1414
@$(call E, texi2pdf: $@)
15-
$(Q)texi2pdf --silent --batch -I doc -o $@ --clean $<
15+
@# LC_COLLATE=C works around a bug in texi2dvi; see
16+
@# https://bugzilla.redhat.com/show_bug.cgi?id=583011 and
17+
@# https://github.com/graydon/rust/issues/1134
18+
$(Q)LC_COLLATE=C texi2pdf --silent --batch -I doc -o $@ --clean $<
1619

1720
doc/%.html: %.texi doc/version.texi
1821
@$(call E, makeinfo: $@)
@@ -37,4 +40,4 @@ nd/std/Topics.txt: $(S)doc/Topics.txt
3740

3841
nd/std/std.css: $(S)doc/std.css
3942
@$(call E, cp: $@)
40-
$(Q)cp $< $@
43+
$(Q)cp $< $@

0 commit comments

Comments
 (0)