doc/en/news/Makefile
Murray Stokely 0d8e79bd0c * Make build/install of www /usr/obj prefix clean.
* Use make variables instead of hard coding commands, paths, and
  options.
* Wrap some long lines.
* Replace shell loops with make for loops, etc.

PR:		docs/31132
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-29 10:14:33 +00:00

51 lines
1.2 KiB
Makefile

# $FreeBSD: www/en/news/Makefile,v 1.29 2001/09/05 15:31:58 kuriyama 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
# The yearly State of the Union address
DOCS+= sou1999.sgml
INDEXLINK= news.html
SUBDIR= 1996
SUBDIR+= 1997
SUBDIR+= 1998
SUBDIR+= 1999
SUBDIR+= 2000
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} ${XSLTPROCFLAGS} -o ${.TARGET} \
${.CURDIR}/newsflash.xsl ${.CURDIR}/news.xml
-${TIDY} ${TIDYFLAGS} ${.TARGET}
news.rdf: news-rdf.xsl news.xml includes.xsl ../includes.xsl
${XSLTPROC} ${XSLTPROCFLAGS} -o ${.TARGET} \
${.CURDIR}/news-rdf.xsl ${.CURDIR}/news.xml
press.html: press.xsl press.xml includes.xsl ../includes.xsl
${XSLTPROC} ${XSLTPROCFLAGS} -o ${.TARGET} \
${.CURDIR}/press.xsl ${.CURDIR}/press.xml
-${TIDY} ${TIDYFLAGS} ${.TARGET}
.include "${WEB_PREFIX}/share/mk/web.site.mk"