73 lines
1.8 KiB
Makefile
73 lines
1.8 KiB
Makefile
#
|
|
# The FreeBSD Russian Documentation Project
|
|
#
|
|
# $FreeBSD$
|
|
# $FreeBSDru: frdp/www/ru/news/Makefile,v 1.11 2005/04/27 18:31:11 andy Exp $
|
|
#
|
|
# Original revision: 1.41
|
|
#
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
.if exists(../Makefile.inc)
|
|
.include "../Makefile.inc"
|
|
.endif
|
|
|
|
DOCS+= news.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+= 2001
|
|
SUBDIR+= 2002
|
|
SUBDIR+= 2003
|
|
SUBDIR+= status
|
|
|
|
DATA= newsflash.html news.rdf press.html
|
|
CLEANFILES+= newsflash.html news.rdf press.html
|
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
|
|
|
newsflash.html: newsflash.xsl news.xml\
|
|
includes.xsl ${XML_INCLUDES}
|
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
|
--param "news.project.xml-master" "'${XML_NEWS_NEWS_MASTER}'" \
|
|
--param "news.project.xml" "'${XML_NEWS_NEWS}'" \
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
|
${.CURDIR}/newsflash.xsl ${.CURDIR}/news.xml
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
news.rdf: news-rdf.xsl news.xml\
|
|
includes.xsl ${XML_INCLUDES}
|
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
|
${.CURDIR}/news-rdf.xsl ${.CURDIR}/news.xml
|
|
|
|
press.html: press.xsl press.xml\
|
|
includes.xsl ${XML_INCLUDES}
|
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
|
--param "news.press.xml-master" "'${XML_NEWS_PRESS_MASTER}'" \
|
|
--param "news.press.xml" "'${XML_NEWS_PRESS}'" \
|
|
--param "transtable.xml" "'${XML_TRANSTABLE}'" \
|
|
${.CURDIR}/press.xsl ${.CURDIR}/press.xml
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|