clean up the previous hack. Now we can redefine the following parameters in the localized includes.xsl: <xsl:param name="param-l10n-date-format-YMD" select="'%D %M, %Y'" /> <xsl:param name="param-l10n-date-format-YM" select="'%M %Y'" /> <xsl:param name="param-l10n-date-format-MD" select="'%D %M'" />
31 lines
889 B
Makefile
31 lines
889 B
Makefile
# $FreeBSD: www/en/news/2002/Makefile,v 1.3 2004/04/07 11:41:47 phantom Exp $
|
|
|
|
.if exists(../Makefile.conf)
|
|
.include "../Makefile.conf"
|
|
.endif
|
|
.if exists(../Makefile.inc)
|
|
.include "../Makefile.inc"
|
|
.endif
|
|
|
|
DATA= index.html press.html
|
|
CLEANFILES+= index.html press.html
|
|
|
|
index.html: ../oldnewsflash.xsl news.xml \
|
|
${XML_INCLUDES} ${XML_TRANSTABLE}
|
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
|
${.CURDIR}/../oldnewsflash.xsl ${.CURDIR}/news.xml
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
press.html: ../oldpress.xsl press.xml \
|
|
${XML_INCLUDES} ${XML_TRANSTABLE}
|
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
|
${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|