FreeBSD web build failed on freefall.freebsd.org

Ceri Davies ceri at FreeBSD.org
Mon Oct 20 13:59:38 UTC 2003


On Mon, Oct 20, 2003 at 05:52:20AM -0700, WWW pseudo-user wrote:

> ===> ../ru
> (cd ../../../doc/ru_RU.KOI8-R/books/faq; make 'FORMATS=html-split html' DESTDIR=/data/ru/FAQ all)
> make: don't know how to make security/advisories.xml. Stop
> *** Error code 2
> 
> Stop in /c/www/build/www/en.
>      1779.29 real      1097.34 user        62.71 sys

Wow, this is ugly, but it fixes the build.

Ceri

-- 
-------------- next part --------------
Index: www/ru/Makefile
===================================================================
RCS file: /home/ncvs/www/ru/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- www/ru/Makefile	16 Oct 2003 17:57:44 -0000	1.25
+++ www/ru/Makefile	20 Oct 2003 13:57:43 -0000
@@ -87,6 +87,9 @@
 DATA+=		index.html
 CLEANFILES+=	index.html
 
+security/advisories.xml:
+	(cd security; ${MAKE} advisories.xml)
+
 index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl security/advisories.xml
 	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
 		${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
Index: www/ru/security/Makefile
===================================================================
RCS file: /home/ncvs/www/ru/security/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- www/ru/security/Makefile	20 Oct 2003 11:23:44 -0000	1.4
+++ www/ru/security/Makefile	20 Oct 2003 13:55:23 -0000
@@ -19,10 +19,13 @@
  
 .include "${WEB_PREFIX}/share/mk/web.site.mk"
 
-CLEANFILES+= advisories.html.inc
+CLEANFILES+= advisories.html.inc advisories.xml
 
 security.html: advisories.html.inc
 
-advisories.html.inc: mkindex.xsl ../../en/security/advisories.xml
+advisories.xml:
+	${CP} ../../en/security/advisories.xml advisories.xml
+
+advisories.html.inc: advisories.xml mkindex.xsl
 	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
-		${.CURDIR}/mkindex.xsl ${.CURDIR}/../../en/security/advisories.xml
+		${.CURDIR}/mkindex.xsl advisories.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20031020/c170479c/attachment.sig>


More information about the freebsd-doc mailing list