Use the XSLT stylesheets to dynamically generate newsflash.html and

news.rdf.
This commit is contained in:
Nik Clayton 2001-08-07 15:55:07 +00:00
parent c51000d155
commit ccd0433e60
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10224

View file

@ -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"