From 91fc4622710731d491b8eb610bbed51fc4c51fda Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Wed, 7 Apr 2004 11:41:47 +0000 Subject: [PATCH] Enable press archive pages building --- en/news/1998/Makefile | 14 +++++++++++++- en/news/1999/Makefile | 15 ++++++++++++++- en/news/2000/Makefile | 14 +++++++++++++- en/news/2001/Makefile | 15 ++++++++++++--- en/news/2002/Makefile | 15 ++++++++++++--- 5 files changed, 64 insertions(+), 9 deletions(-) diff --git a/en/news/1998/Makefile b/en/news/1998/Makefile index 1c07081a69..afe6cfbc2c 100644 --- a/en/news/1998/Makefile +++ b/en/news/1998/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/news/1998/Makefile,v 1.1 2001/04/13 00:54:06 eric Exp $ +# $FreeBSD: www/en/news/1998/Makefile,v 1.2 2001/10/29 10:14:32 murray Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -9,4 +9,16 @@ DOCS= index.sgml +DATA= press.html +CLEANFILES+= press.html + +press.html: ../oldpress.xsl press.xml\ + ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} + ${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \ + --param transtable.xml "'${XML_TRANSTABLE}'" \ + ${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml +.if !defined(NO_TIDY) + -${TIDY} ${TIDYOPTS} ${.TARGET} +.endif + .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/news/1999/Makefile b/en/news/1999/Makefile index 9c7699eb79..cce6ca6cbd 100644 --- a/en/news/1999/Makefile +++ b/en/news/1999/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/news/1999/Makefile,v 1.1 2001/04/13 00:54:09 eric Exp $ +# $FreeBSD: www/en/news/1999/Makefile,v 1.2 2001/10/29 10:14:32 murray Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -9,4 +9,17 @@ DOCS= index.sgml +DATA= press.html +CLEANFILES+= press.html + +press.html: ../oldpress.xsl press.xml\ + ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} + ${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \ + --param transtable.xml "'${XML_TRANSTABLE}'" \ + ${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml +.if !defined(NO_TIDY) + -${TIDY} ${TIDYOPTS} ${.TARGET} +.endif + + .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/news/2000/Makefile b/en/news/2000/Makefile index 6d47ac0859..047249616d 100644 --- a/en/news/2000/Makefile +++ b/en/news/2000/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/news/2000/Makefile,v 1.1 2001/04/13 00:54:11 eric Exp $ +# $FreeBSD: www/en/news/2000/Makefile,v 1.2 2001/10/29 10:14:32 murray Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -9,4 +9,16 @@ DOCS= index.sgml +DATA= press.html +CLEANFILES+= press.html + +press.html: ../oldpress.xsl press.xml\ + ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} + ${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \ + --param transtable.xml "'${XML_TRANSTABLE}'" \ + ${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml +.if !defined(NO_TIDY) + -${TIDY} ${TIDYOPTS} ${.TARGET} +.endif + .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/news/2001/Makefile b/en/news/2001/Makefile index a8820cff5d..e5835f46ed 100644 --- a/en/news/2001/Makefile +++ b/en/news/2001/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/news/2001/Makefile,v 1.1 2002/02/12 08:41:38 sobomax Exp $ +# $FreeBSD: www/en/news/2001/Makefile,v 1.2 2004/01/12 21:27:00 hrs Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -7,8 +7,8 @@ .include "../Makefile.inc" .endif -DATA= index.html -CLEANFILES+= index.html +DATA= index.html press.html +CLEANFILES+= index.html press.html index.html: ../oldnewsflash.xsl news.xml\ ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} @@ -19,4 +19,13 @@ index.html: ../oldnewsflash.xsl news.xml\ -${TIDY} ${TIDYOPTS} ${.TARGET} .endif +press.html: ../oldpress.xsl press.xml\ + ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} + ${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \ + --param transtable.xml "'${XML_TRANSTABLE}'" \ + ${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml +.if !defined(NO_TIDY) + -${TIDY} ${TIDYOPTS} ${.TARGET} +.endif + .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/news/2002/Makefile b/en/news/2002/Makefile index efcd2fbf38..7e337eb747 100644 --- a/en/news/2002/Makefile +++ b/en/news/2002/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/news/2002/Makefile,v 1.1 2003/07/11 19:51:56 ceri Exp $ +# $FreeBSD: www/en/news/2002/Makefile,v 1.2 2004/01/12 21:27:00 hrs Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -7,8 +7,8 @@ .include "../Makefile.inc" .endif -DATA= index.html -CLEANFILES+= index.html +DATA= index.html press.html +CLEANFILES+= index.html press.html index.html: ../oldnewsflash.xsl news.xml\ ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} @@ -19,4 +19,13 @@ index.html: ../oldnewsflash.xsl news.xml\ -${TIDY} ${TIDYOPTS} ${.TARGET} .endif +press.html: ../oldpress.xsl press.xml\ + ../includes.xsl ../../includes.xsl ${XML_TRANSTABLE} + ${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \ + --param transtable.xml "'${XML_TRANSTABLE}'" \ + ${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml +.if !defined(NO_TIDY) + -${TIDY} ${TIDYOPTS} ${.TARGET} +.endif + .include "${WEB_PREFIX}/share/mk/web.site.mk"