From ccd0433e60668c6ab7b562ac8574832af6c130e4 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 7 Aug 2001 15:55:07 +0000 Subject: [PATCH] Use the XSLT stylesheets to dynamically generate newsflash.html and news.rdf. --- en/news/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/en/news/Makefile b/en/news/Makefile index c9683572d7..58907a638e 100644 --- a/en/news/Makefile +++ b/en/news/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/news/Makefile,v 1.24 2001/04/13 00:53:57 eric Exp $ +# $FreeBSD: www/en/news/Makefile,v 1.25 2001/08/02 04:26:30 chris Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -8,7 +8,6 @@ .endif DOCS+= press.sgml -DOCS+= newsflash.sgml DOCS+= news.sgml #DOCS+= webchanges.sgml @@ -32,4 +31,13 @@ SUBDIR+= 1999 SUBDIR+= 2000 SUBDIR+= status +DATA= news.rdf + +newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl + xsltproc -nonet -o newsflash.html newsflash.xsl news.xml + -tidy -i -m -f /dev/null newsflash.html + +news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl + xsltproc -nonet -o news.rdf news-rdf.xsl news.xml + .include "${WEB_PREFIX}/share/mk/web.site.mk"