Remove PS format. PS files are broken: fop is unable to embed fonts.
PS is, nowadays, replaced with PDF. If PS is still needed, pdf2ps(1) can be simply used on PDF files. Approved by: doceng
This commit is contained in:
parent
db0fb2dd8d
commit
5fa0ce657b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54388
2 changed files with 3 additions and 16 deletions
|
@ -74,7 +74,7 @@ FOPJAVAOPTS?= -Xss1024k -Xmx1431552k
|
|||
FOPOPTS?= -c ${DOC_PREFIX}/share/misc/fop.xconf
|
||||
|
||||
KNOWN_FORMATS= html html.tar html-split html-split.tar \
|
||||
epub txt rtf ps pdf tex dvi tar
|
||||
epub txt rtf pdf tex dvi tar
|
||||
|
||||
CSS_SHEET?= ${DOC_PREFIX}/share/misc/docbook.css
|
||||
|
||||
|
@ -221,13 +221,6 @@ CLEANFILES+= ${DOC}.rtf-nopng
|
|||
.elif ${_cf} == "tex"
|
||||
CLEANFILES+= ${DOC}.aux ${DOC}.log
|
||||
|
||||
.elif ${_cf} == "ps"
|
||||
CLEANFILES+= ${DOC}.aux ${DOC}.dvi ${DOC}.log ${DOC}.out ${DOC}.tex-ps \
|
||||
${DOC}.tex ${DOC}.tex-tmp ${DOC}.fo
|
||||
.for _curimage in ${LOCAL_IMAGES_EPS:M*share*}
|
||||
CLEANFILES+= ${_curimage:T} ${_curimage:H:T}/${_curimage:T}
|
||||
.endfor
|
||||
|
||||
.elif ${_cf} == "pdf"
|
||||
CLEANFILES+= ${DOC}.aux ${DOC}.dvi ${DOC}.log ${DOC}.out ${DOC}.tex-pdf ${DOC}.tex-pdf-tmp \
|
||||
${DOC}.tex ${DOC}.fo
|
||||
|
@ -377,18 +370,12 @@ ${DOC}.fo: ${DOC}.xml ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG} ${DOC}.parsed.xml
|
|||
${DOC}.pdf: ${DOC}.fo ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG}
|
||||
${SETENV} FOP_OPTS="${FOPJAVAOPTS}" ${FOP} ${FOPOPTS} ${DOC}.fo -pdf ${.TARGET}
|
||||
|
||||
${DOC}.ps: ${DOC}.fo ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG}
|
||||
${SETENV} FOP_OPTS="${FOPJAVAOPTS}" ${FOP} ${FOPOPTS} ${DOC}.fo -ps ${.TARGET}
|
||||
|
||||
${DOC}.rtf: ${DOC}.fo ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG}
|
||||
${SETENV} FOP_OPTS="${FOPJAVAOPTS}" ${FOP} ${FOPOPTS} ${DOC}.fo -rtf ${.TARGET}
|
||||
.else
|
||||
# Default is dblatex
|
||||
${DOC}.pdf: ${DOC}.parsed.xml ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG}
|
||||
${DBLATEX} ${DOC}.parsed.print.xml ${DBLATEXOPTS} -tpdf -o ${.TARGET}
|
||||
|
||||
${DOC}.ps: ${DOC}.parsed.xml ${LOCAL_IMAGES_LIB} ${LOCAL_IMAGES_PNG}
|
||||
${DBLATEX} ${DOC}.parsed.print.xml ${DBLATEXOPTS} -tps -o ${.TARGET}
|
||||
.endif
|
||||
|
||||
|
||||
|
@ -560,7 +547,7 @@ _curinst+= ${FORMATS:S/^/install-/g}
|
|||
.endif
|
||||
|
||||
.if defined(NO_TEX)
|
||||
_curinst_filter+=N*dvi* N*tex* N*ps* N*pdf*
|
||||
_curinst_filter+=N*dvi* N*tex* N*pdf*
|
||||
.endif
|
||||
.if defined(NO_RTF)
|
||||
_curinst_filter+=N*rtf*
|
||||
|
|
|
@ -67,7 +67,7 @@ MAINTAINER?= doc@FreeBSD.org
|
|||
# Master list of known target formats. The doc.<format>.mk files implement
|
||||
# the code to convert from their source format to one or more of these target
|
||||
# formats
|
||||
ALL_FORMATS= html html.tar html-split html-split.tar txt rtf ps pdf tex dvi tar
|
||||
ALL_FORMATS= html html.tar html-split html-split.tar txt rtf pdf tex dvi tar
|
||||
|
||||
.include "doc.commands.mk"
|
||||
|
||||
|
|
Loading…
Reference in a new issue