Wrap explicit calls of ${TIDY} with NO_TIDY define check. With this
patch build with defined(NO_TIDY) does not call tidy at all.
This commit is contained in:
parent
e188d5456e
commit
dc2d1fcd91
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=11433
7 changed files with 38 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/Makefile,v 1.75 2001/11/14 18:31:14 phantom Exp $
|
||||
# $FreeBSD: www/en/Makefile,v 1.76 2001/12/12 11:57:36 phantom Exp $
|
||||
.if exists(Makefile.conf)
|
||||
.include "Makefile.conf"
|
||||
.endif
|
||||
|
@ -85,7 +85,9 @@ CLEANFILES+= index.html
|
|||
index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o index.html \
|
||||
${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} index.html
|
||||
.endif
|
||||
|
||||
# Handle the FAQ/ and handbook/ directories specially.
|
||||
FAQ:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/gallery/Makefile,v 1.14 2001/10/29 10:14:31 murray Exp $
|
||||
# $FreeBSD: www/en/gallery/Makefile,v 1.15 2001/12/12 11:57:36 phantom Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -19,21 +19,29 @@ CLEANFILES+= ${DATA}
|
|||
|
||||
gallery.html: gallery.xml gallery.xsl ../includes.xsl
|
||||
${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
cgallery.html: gallery.xml gallery-entry.xsl
|
||||
${XSLT} --param type \'commercial\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
npgallery.html: gallery.xml gallery-entry.xsl
|
||||
${XSLT} --param type \'nonprofit\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
pgallery.html: gallery.xml gallery-entry.xsl
|
||||
${XSLT} --param type \'personal\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/news/Makefile,v 1.30 2001/10/29 10:14:31 murray Exp $
|
||||
# $FreeBSD: www/en/news/Makefile,v 1.31 2001/12/12 11:57:37 phantom Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -37,7 +37,9 @@ CLEANFILES+= newsflash.html news.rdf press.html
|
|||
newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||
${.CURDIR}/newsflash.xsl ${.CURDIR}/news.xml
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||
|
@ -46,6 +48,8 @@ news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
|
|||
press.html: press.xsl press.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||
${.CURDIR}/press.xsl ${.CURDIR}/press.xml
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/news/status/Makefile,v 1.10 2001/11/12 22:25:12 chris Exp $
|
||||
# $FreeBSD: www/en/news/status/Makefile,v 1.11 2001/12/12 11:57:37 phantom Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -24,7 +24,9 @@ CLEANFILES+= ${DATA:M*.html}
|
|||
.xml.html: report.xsl includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||
${.CURDIR}/report.xsl ${.IMPSRC}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
INDEXLINK= status.html
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/ja/Makefile,v 1.53 2001/11/17 17:21:09 hrs Exp $
|
||||
# $FreeBSD: www/ja/Makefile,v 1.54 2001/12/12 11:57:38 phantom Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.75
|
||||
|
||||
|
@ -83,7 +83,9 @@ CLEANFILES+= index.html
|
|||
index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o index.html \
|
||||
${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
|
||||
-${TIDY} ${TIDYOPTS} index.html
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
### Revision checking
|
||||
REVCHECK= yes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/ja/gallery/Makefile,v 1.16 2001/11/18 22:33:58 hrs Exp $
|
||||
# $FreeBSD: www/ja/gallery/Makefile,v 1.17 2001/12/12 11:57:38 phantom Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.14
|
||||
|
||||
|
@ -23,22 +23,30 @@ CLEANFILES+= ${DATA}
|
|||
|
||||
gallery.html: ${SRC} gallery.xsl ../includes.xsl
|
||||
${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
cgallery.html: ${SRC} gallery-entry.xsl
|
||||
${XSLT} --param type \'commercial\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
npgallery.html: ${SRC} gallery-entry.xsl
|
||||
${XSLT} --param type \'nonprofit\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
pgallery.html: ${SRC} gallery-entry.xsl
|
||||
${XSLT} --param type \'personal\' \
|
||||
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
### Revision checking
|
||||
REVCHECK= yes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/ja/news/Makefile,v 1.30 2001/11/19 15:35:42 hrs Exp $
|
||||
# $FreeBSD: www/ja/news/Makefile,v 1.31 2001/12/12 11:57:42 phantom Exp $
|
||||
# The FreeBSD Japanese Documentation Project
|
||||
# Original revision: 1.30
|
||||
|
||||
|
@ -40,7 +40,9 @@ 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
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
|
||||
${XSLTPROC} ${XSLTPROCFLAGS} -o ${.TARGET} \
|
||||
|
@ -49,7 +51,9 @@ 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
|
||||
.if !defined(NO_TIDY)
|
||||
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||
.endif
|
||||
|
||||
### Revision checking
|
||||
REVCHECK= YES
|
||||
|
|
Loading…
Reference in a new issue