Disable .ps and .pdf build of some languages---ja_JP.eucJP,
ru_RU.KOI8-R, and zh_TW.Big5---because they are broken. This behavior can be controlled by using $NO_TEX_LANG. This is a temporary measure, and we need to use localized TeX variants to build the printable formats. Tested by: simon
This commit is contained in:
parent
cb05a35171
commit
7dda15a1e0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25733
1 changed files with 24 additions and 0 deletions
|
@ -543,8 +543,19 @@ ${.CURDIR:T}.pdb.${_curcomp}: ${DOC}.pdb.${_curcomp}
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
# put languages which have a problem on rendering printable formats
|
||||
# by using TeX to NO_TEX_LANG.
|
||||
NO_TEX_LANG?= ja_JP.eucJP ru_RU.KOI8-R zh_TW.Big5
|
||||
|
||||
.for _L in ${LANGCODE}
|
||||
.if ${NO_TEX_LANG:M${_L}} != ""
|
||||
NO_TEX= yes
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# RTF --------------------------------------------------------------------
|
||||
|
||||
.if !defined(NO_TEX)
|
||||
${DOC}.rtf: ${SRCS} ${LOCAL_IMAGES_EPS} ${LOCAL_IMAGES_TXT}
|
||||
${JADE_CMD} -V rtf-backend ${PRINTOPTS} -ioutput.rtf.images \
|
||||
${JADEOPTS} -t rtf -o ${.TARGET} ${MASTERDOC}
|
||||
|
@ -606,6 +617,19 @@ ${DOC}.pdf: ${DOC}.tex-pdf ${IMAGES_PDF}
|
|||
|
||||
${DOC}.ps: ${DOC}.dvi
|
||||
${DVIPS} ${DVIPSOPTS} -o ${.TARGET} ${.ALLSRC}
|
||||
.else
|
||||
${DOC}.rtf ${DOC}.rtf.tar ${DOC}.tex \
|
||||
${DOC}.tex-ps ${DOC}.dvi ${DOC}.ps:
|
||||
${TOUCH} ${.TARGET}
|
||||
.if !target(${DOC}.pdf)
|
||||
${DOC}.pdf:
|
||||
${TOUCH} ${.TARGET}
|
||||
.endif
|
||||
.if !target(${DOC}.tex-pdf)
|
||||
${DOC}.tex-pdf:
|
||||
${TOUCH} ${.TARGET}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
${DOC}.tar: ${SRCS} ${LOCAL_IMAGES} ${LOCAL_CSS_SHEET}
|
||||
${TAR} cf ${.TARGET} -C ${.CURDIR} ${SRCS} \
|
||||
|
|
Loading…
Reference in a new issue