svn commit: r39458 - projects/sgml2xml/share/mk

Gabor Kovesdan gabor at FreeBSD.org
Mon Aug 27 10:15:11 UTC 2012


Author: gabor
Date: Mon Aug 27 10:15:10 2012
New Revision: 39458
URL: http://svn.freebsd.org/changeset/doc/39458

Log:
  - Only drop -raw -preserve tidy flags when the encoding is ISO8859-1.
    For other encodings, it caused rendering problems.
  
  Approved by:	doceng (implicit)

Modified:
  projects/sgml2xml/share/mk/doc.docbook.mk

Modified: projects/sgml2xml/share/mk/doc.docbook.mk
==============================================================================
--- projects/sgml2xml/share/mk/doc.docbook.mk	Mon Aug 27 08:05:18 2012	(r39457)
+++ projects/sgml2xml/share/mk/doc.docbook.mk	Mon Aug 27 10:15:10 2012	(r39458)
@@ -257,7 +257,11 @@ TOUCH?=		/usr/bin/touch
 XARGS?=		/usr/bin/xargs
 
 GROFF?=		groff
-TIDYOPTS?=	-wrap 90 -m -f /dev/null -asxml ${TIDYFLAGS}
+.if empty(LANGCODE:S/./ . /g:MISO8859-1)
+TIDYOPTS?=	-wrap 90 -m -raw -preserve -f /dev/null -asxml ${TIDYFLAGS}
+.else
+TIDYOPTS?=	-wrap 90 -m -f /dev/null -asxml ${TIDYFLAGS
+.endif
 HTML2TXT?=	${PREFIX}/bin/links
 HTML2TXTOPTS?=	-dump -width 72 ${HTML2TXTFLAGS}
 HTML2PDB?=	${PREFIX}/bin/iSiloBSD


More information about the svn-doc-projects mailing list