58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
# $FreeBSD: www/en/news/Makefile,v 1.34 2002/11/01 12:18:31 mwlucas Exp $
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
.if exists(../Makefile.inc)
|
|
.include "../Makefile.inc"
|
|
.endif
|
|
|
|
#DOCS+= press.sgml
|
|
DOCS+= news.sgml
|
|
#DOCS+= webchanges.sgml
|
|
|
|
# press releases
|
|
DOCS+= pressreleases.sgml
|
|
DOCS+= press-rel-1.sgml
|
|
DOCS+= press-rel-2.sgml
|
|
DOCS+= press-rel-3.sgml
|
|
DOCS+= press-rel-4.sgml
|
|
DOCS+= press-rel-5.sgml
|
|
DOCS+= press-rel-6.sgml
|
|
DOCS+= press-rel-7.sgml
|
|
|
|
# The yearly State of the Union address
|
|
DOCS+= sou1999.sgml
|
|
|
|
INDEXLINK= news.html
|
|
|
|
SUBDIR= 1996
|
|
SUBDIR+= 1997
|
|
SUBDIR+= 1998
|
|
SUBDIR+= 1999
|
|
SUBDIR+= 2000
|
|
SUBDIR+= 2001
|
|
SUBDIR+= status
|
|
|
|
DATA= newsflash.html news.rdf press.html
|
|
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} \
|
|
${.CURDIR}/news-rdf.xsl ${.CURDIR}/news.xml
|
|
|
|
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"
|