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/zh/Makefile,v 1.4 2000/02/28 12:51:21 phantom Exp $
|
||||
# $FreeBSD: www/zh/Makefile,v 1.5 2000/11/07 05:20:40 kuriyama Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -11,9 +11,9 @@
|
|||
DOCSUBDIR= FAQ
|
||||
.endif
|
||||
|
||||
SGMLOPTS= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
|
||||
SGMLOPTS+=-e big5
|
||||
FORMATS= "html ps"
|
||||
SGMLFLAGS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
|
||||
SGMLFLAGS+= -e big5
|
||||
FORMATS= "html ps"
|
||||
|
||||
WEBBASE= /data/zh
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue