docs: work around texi2dvi bug. (#1134)

This commit is contained in:
Elly Jones 2011-11-05 12:32:58 -04:00 committed by Brian Anderson
parent 1087f4b7b0
commit 39e0009190

View File

@ -12,7 +12,10 @@ doc/version.texi: $(MKFILES) rust.texi
doc/%.pdf: %.texi doc/version.texi
@$(call E, texi2pdf: $@)
$(Q)texi2pdf --silent --batch -I doc -o $@ --clean $<
@# LC_COLLATE=C works around a bug in texi2dvi; see
@# https://bugzilla.redhat.com/show_bug.cgi?id=583011 and
@# https://github.com/graydon/rust/issues/1134
$(Q)LC_COLLATE=C texi2pdf --silent --batch -I doc -o $@ --clean $<
doc/%.html: %.texi doc/version.texi
@$(call E, makeinfo: $@)
@ -37,4 +40,4 @@ nd/std/Topics.txt: $(S)doc/Topics.txt
nd/std/std.css: $(S)doc/std.css
@$(call E, cp: $@)
$(Q)cp $< $@
$(Q)cp $< $@