Force tidy(1) to use '-raw' and newly added '-preserve' options
to process generated HTML. This not cause any side effects except leaving some character entities in their numeric form instead converting them into alphabetical notation (< instead of <), but since all browsers understand such cases it is not a problem. This commit should make all translations tidy clean, since tidy should not arise entities conversion problem as it did for long time before. Therefore all occurences of manual settings of TIDYFLAGS and NO_TIDY declarations for translations are removed. Also clean *OPTS/*FLAGS variables declaration like it was done in doc/ tree some time ago. Currently all local additions to commands parameters that used in make process should be passed thru *FLAGS variables. All variables with OPTS suffix are reserved for internal use of web.site.mk now. Cleanup part is based on work done by Cyrille Lefevre <clefevre-lists@noos.fr> No objections from: -doc Requested by: Russian and Japanese translation teams
This commit is contained in:
parent
12e900ee3a
commit
66e0a1cacf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=11412
13 changed files with 61 additions and 65 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/ja/Makefile,v 1.52 2001/10/30 15:09:52 hrs Exp $
|
||||
# $FreeBSD: www/ja/Makefile,v 1.53 2001/11/17 17:21:09 hrs Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.75
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ DOCSUBDIR= FAQ handbook
|
|||
#SUBDIR+= gifs
|
||||
#SUBDIR+= cgi
|
||||
|
||||
SGMLOPTS= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr -e EUC-JP
|
||||
SGMLFLAGS= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr -e EUC-JP
|
||||
|
||||
WEBDIR= data/ja
|
||||
|
||||
|
|
@ -81,9 +81,9 @@ DATA+= index.html
|
|||
CLEANFILES+= index.html
|
||||
|
||||
index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCFLAGS} -o index.html \
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o index.html \
|
||||
${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
|
||||
# -${TIDY} ${TIDYFLAGS} index.html
|
||||
-${TIDY} ${TIDYOPTS} index.html
|
||||
|
||||
### Revision checking
|
||||
REVCHECK= yes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/ja/gallery/Makefile,v 1.15 2001/09/17 03:07:39 kuriyama Exp $
|
||||
# $FreeBSD: www/ja/gallery/Makefile,v 1.16 2001/11/18 22:33:58 hrs Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.14
|
||||
|
||||
|
|
@ -23,22 +23,22 @@ CLEANFILES+= ${DATA}
|
|||
|
||||
gallery.html: ${SRC} gallery.xsl ../includes.xsl
|
||||
${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
# -${TIDY} ${TIDYFLAGS} ${.TARGET}
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
|
||||
cgallery.html: ${SRC} gallery-entry.xsl
|
||||
${XSLT} --param type \'commercial\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
# -${TIDY} ${TIDYFLAGS} ${.TARGET}
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
|
||||
npgallery.html: ${SRC} gallery-entry.xsl
|
||||
${XSLT} --param type \'nonprofit\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
# -${TIDY} ${TIDYFLAGS} ${.TARGET}
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
|
||||
pgallery.html: ${SRC} gallery-entry.xsl
|
||||
${XSLT} --param type \'personal\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
# -${TIDY} ${TIDYFLAGS} ${.TARGET}
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
|
||||
### Revision checking
|
||||
REVCHECK= yes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/ja/news/Makefile,v 1.29 2001/09/05 15:32:56 kuriyama Exp $
|
||||
# $FreeBSD: www/ja/news/Makefile,v 1.30 2001/11/19 15:35:42 hrs Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.30
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ CLEANFILES+= newsflash.html press.html
|
|||
newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCFLAGS} -o ${.TARGET} \
|
||||
${.CURDIR}/newsflash.xsl ${.CURDIR}/news.xml
|
||||
# -${TIDY} ${TIDYFLAGS} ${.TARGET}
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
|
||||
news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCFLAGS} -o ${.TARGET} \
|
||||
|
|
@ -49,7 +49,7 @@ news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
|
|||
press.html: press.xsl press.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCFLAGS} -o ${.TARGET} \
|
||||
${.CURDIR}/press.xsl ${.CURDIR}/press.xml
|
||||
# -${TIDY} ${TIDYFLAGS} ${.TARGET}
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
|
||||
### Revision checking
|
||||
REVCHECK= YES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue