Unbreak web build.
Obtained from: Hiroki Sato <hrs@eos.ocn.ne.jp>; Ceri Davies <ceri@FreeBSD.org>
This commit is contained in:
parent
90e500c237
commit
5fe2da0448
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=18504
2 changed files with 8 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
||||||
#
|
#
|
||||||
# The FreeBSD Russian Documentation Project
|
# The FreeBSD Russian Documentation Project
|
||||||
#
|
#
|
||||||
# $FreeBSD: www/ru/Makefile,v 1.24 2003/10/01 10:04:08 ceri Exp $
|
# $FreeBSD$
|
||||||
# $FreeBSDru: frdp/www/ru/Makefile,v 1.23 2003/09/30 18:58:55 andy Exp $
|
# $FreeBSDru: frdp/www/ru/Makefile,v 1.26 2003/10/20 17:08:34 andy Exp $
|
||||||
#
|
#
|
||||||
# Original revision: 1.98
|
# Original revision: 1.98
|
||||||
#
|
#
|
||||||
|
@ -62,7 +62,6 @@ SUBDIR+= ports
|
||||||
#SUBDIR+= doc
|
#SUBDIR+= doc
|
||||||
.endif
|
.endif
|
||||||
.if defined(BUILD_RELNOTES)
|
.if defined(BUILD_RELNOTES)
|
||||||
# This doesn't exist yet.
|
|
||||||
#SUBDIR+= relnotes
|
#SUBDIR+= relnotes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -87,7 +86,7 @@ WEBDIR?= data/ru
|
||||||
DATA+= index.html
|
DATA+= index.html
|
||||||
CLEANFILES+= index.html
|
CLEANFILES+= index.html
|
||||||
|
|
||||||
index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl security/advisories.xml
|
index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl ../en/security/advisories.xml
|
||||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||||
${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
|
${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
|
||||||
.if !defined(NO_TIDY)
|
.if !defined(NO_TIDY)
|
||||||
|
|
10
ru/index.xsl
10
ru/index.xsl
|
@ -4,7 +4,7 @@
|
||||||
The FreeBSD Russian Documentation Project
|
The FreeBSD Russian Documentation Project
|
||||||
|
|
||||||
$FreeBSD$
|
$FreeBSD$
|
||||||
$FreeBSDru: frdp/www/ru/index.xsl,v 1.20 2003/10/13 12:36:47 den Exp $
|
$FreeBSDru: frdp/www/ru/index.xsl,v 1.21 2003/10/20 17:08:34 andy Exp $
|
||||||
|
|
||||||
Original revision: 1.78
|
Original revision: 1.78
|
||||||
-->
|
-->
|
||||||
|
@ -483,16 +483,16 @@
|
||||||
<font size="-1">
|
<font size="-1">
|
||||||
ðÏÓÌÅÄÎÅÅ ÏÂÎÏ×ÌÅÎÉÅ:
|
ðÏÓÌÅÄÎÅÅ ÏÂÎÏ×ÌÅÎÉÅ:
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="document('security/advisories.xml')/descendant::month[position() = 1]/name"/>
|
select="document('../en/security/advisories.xml')/descendant::month[position() = 1]/name"/>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="document('security/advisories.xml')/descendant::day[position() = 1]/name"/>
|
select="document('../en/security/advisories.xml')/descendant::day[position() = 1]/name"/>
|
||||||
<xsl:text>, </xsl:text>
|
<xsl:text>, </xsl:text>
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="document('security/advisories.xml')/descendant::year[position() = 1]/name"/>
|
select="document('../en/security/advisories.xml')/descendant::year[position() = 1]/name"/>
|
||||||
<br/>
|
<br/>
|
||||||
<!-- Pull in the 10 most recent security advisories -->
|
<!-- Pull in the 10 most recent security advisories -->
|
||||||
<xsl:for-each select="document('security/advisories.xml')/descendant::advisory[position() < 10]">
|
<xsl:for-each select="document('../en/security/advisories.xml')/descendant::advisory[position() < 10]">
|
||||||
· <a>
|
· <a>
|
||||||
<xsl:attribute name="href">ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/<xsl:value-of select="name"/>.asc</xsl:attribute>
|
<xsl:attribute name="href">ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/<xsl:value-of select="name"/>.asc</xsl:attribute>
|
||||||
<xsl:value-of select="name"/>
|
<xsl:value-of select="name"/>
|
||||||
|
|
Loading…
Reference in a new issue