Hi, the LINGUA=ll stuff comes in handy and used to work, but recently 'LINGUA=ll make pdf' failed. (Maybe due to my Debian Sid system.)
Changing Makefile.common like below, single language pdf creation seems to work (package building, too). Please check it. Index: Makefile.common =================================================================== --- Makefile.common (Revision 77029) +++ Makefile.common (Arbeitskopie) @@ -8,7 +8,16 @@ XP = xsltproc --nonet --novalid --xinclude ../common/html.xsl # --param=lingua=zh-tw is a bit of a hack so Adrew Lew actual name is not broken # (and chinese PDF works), but it spreads some warnings during the build -DBLATEX = dblatex -T db2latex --backend=xetex --xsl-user=../common/user_param.xsl --xsl-user=../common/xetex_param.xsl -p ../common/pdf.xsl --param=lingua=zh-tw +ifndef LINGUA + LINGUA_TMP = zh-tw +else + ifeq ($(LINGUA),zh) + LINGUA_TMP = zh-tw + else + LINGUA_TMP = $(LINGUA) + endif +endif +DBLATEX = dblatex -T db2latex --backend=xetex --xsl-user=../common/user_param.xsl --xsl-user=../common/xetex_param.xsl -p ../common/pdf.xsl --param=lingua=$(LINGUA_TMP) # that's ugly, smarter approach appreciated directory = `echo $(name) | sed 's/-manual//'` ==================================================================== Wolfgang
signature.asc
Description: Digital signature