Remove my dirty hack, it's useless with doc.docbook.mk changes.

This commit is contained in:
Marc Fonvieille 2002-11-02 21:45:53 +00:00
parent c5ec91e7cc
commit 6c9a428eee
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=14834

View file

@ -131,18 +131,20 @@ REALPATH?= /bin/realpath
# Use suffix rules to convert .scr files to other formats
.SUFFIXES: .scr .pic .png .eps .txt
# The .txt files are built on the fly with .png files.
# The .txt files need to have any trailing spaces trimmed from
# each line, which is why the output from ${SCR2TXT} is run
# through ${SED}
.scr.png:
${SCR2PNG} ${SCR2PNGOPTS} < ${.IMPSRC} > ${.TARGET}
${SCR2TXT} ${SCR2TXTOPTS} < ${.IMPSRC} | ${SED} -E -e 's/ +$$//' > ${.TARGET:S/.png$/.txt/}
.scr.eps:
${SCR2PNG} ${SCR2PNGOPTS} < ${.ALLSRC} | \
${PNGTOPNM} ${PNGTOPNMOPTS} | \
${PNMTOPS} ${PNMTOPSOPTS} > ${.TARGET}
# The .txt files need to have any trailing spaces trimmed from
# each line, which is why the output from ${SCR2TXT} is run
# through ${SED}
.scr.txt:
${SCR2TXT} ${SCR2TXTOPTS} < ${.IMPSRC} | ${SED} -E -e 's/ +$$//' > ${.TARGET}
# Some versions of ghostscript (7.04) have problems with the use of
# relative path when the arguments are passed by peps; realpath will
# correct the problem.