doc: set locale explicitly for building doc.

This commit is contained in:
Liang Chang
2022-08-08 04:43:48 +00:00
committed by Jon Trulson
parent f63a747814
commit 2d186d4cdd
4 changed files with 44 additions and 28 deletions

View File

@@ -9,8 +9,8 @@ INFOLIBNAME = -n cde
# orig: INFOLIBDESC = -d InfoLibDesc
SSENTS = -m common/catalog
DGENV = LC_CTYPE=$(LANG) SGML_SEARCH_PATH=".:.."
DTINFOGENOPTIONS = $(SSENTS) $(INFOLIBNAME) -d $(INFOLIBDESC)
DGENV = SGML_SEARCH_PATH=".:.."
DTINFOGENOPTIONS = -L $(LANG) $(SSENTS) $(INFOLIBNAME) -d $(INFOLIBDESC)
# Note the quad-dollar sign - this escapes $$ (pid) for the tmp
# dir. This is required for multi-core builds to work.

View File

@@ -19,7 +19,7 @@ DTHELP_HTAG2 = $(top_builddir)/programs/dthelp/parser/pass2/parser/dthelp_htag2
# but the $(basename...) seems to add a space for some reason
%.sdl:
LC_CTYPE=$(LANG) SGML_SEARCH_PATH=".:.." \
SGML_SEARCH_PATH=".:.." \
$(KSH) $(DTDOCBOOK) -H $(DTHELP_HTAG2) -L $(LANG) \
-o $@ `basename $@ .sdl`/book.sgm