Generate press.html from press.xml using press.xsl.

This commit is contained in:
Nik Clayton 2001-08-10 10:32:11 +00:00
parent 66c30b5061
commit 034cbbf9c7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10289

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/news/Makefile,v 1.26 2001/08/07 15:55:07 nik Exp $ # $FreeBSD: www/en/news/Makefile,v 1.27 2001/08/07 16:07:33 nik Exp $
.if exists(../Makefile.conf) .if exists(../Makefile.conf)
.include "../Makefile.conf" .include "../Makefile.conf"
@ -7,7 +7,7 @@
.include "../Makefile.inc" .include "../Makefile.inc"
.endif .endif
DOCS+= press.sgml #DOCS+= press.sgml
DOCS+= news.sgml DOCS+= news.sgml
#DOCS+= webchanges.sgml #DOCS+= webchanges.sgml
@ -31,7 +31,7 @@ SUBDIR+= 1999
SUBDIR+= 2000 SUBDIR+= 2000
SUBDIR+= status SUBDIR+= status
DATA= newsflash.html news.rdf DATA= newsflash.html news.rdf press.html
newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
xsltproc -nonet -o newsflash.html newsflash.xsl news.xml xsltproc -nonet -o newsflash.html newsflash.xsl news.xml
@ -40,4 +40,8 @@ newsflash.html: newsflash.xsl news.xml includes.xsl ../includes.xsl
news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
xsltproc -nonet -o news.rdf news-rdf.xsl news.xml xsltproc -nonet -o news.rdf news-rdf.xsl news.xml
press.html: press.xsl press.xml includes.xsl ../includes.xsl
xsltproc -nonet -o press.html press.xsl press.xml
-tidy -i -m -f /dev/null press.html
.include "${WEB_PREFIX}/share/mk/web.site.mk" .include "${WEB_PREFIX}/share/mk/web.site.mk"