Do not descend into the atf directory, which is gone, and account for

MKATF=no.
This commit is contained in:
jmmv 2009-01-19 08:02:16 +00:00
parent 149b8384cb
commit 02168e565f
3 changed files with 19 additions and 6 deletions

View File

@ -1,10 +1,16 @@
# $NetBSD: Makefile,v 1.1 2007/11/12 15:01:50 jmmv Exp $
# $NetBSD: Makefile,v 1.2 2009/01/19 08:02:16 jmmv Exp $
SUBDIR= atf
.include <bsd.own.mk>
FILESDIR= /usr/share/xml
FILESMODE= 444
FILES= catalog
# XXX Huge hack for the lack of catalog management. However, this will do
# the trick for now (at least until we have other catalogs to deal with).
.if (${MKATF} != "no")
FILES= catalog.atf
FILESNAME_catalog.atf= catalog
.else
FILES= catalog
.endif
.include <bsd.files.mk>
.include <bsd.subdir.mk>

View File

@ -4,6 +4,4 @@
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteSystem systemIdStartString="http://www.NetBSD.org/XML/atf"
rewritePrefix="/usr/share/xml/atf" />
</catalog>

9
share/xml/catalog.atf Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC
"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteSystem systemIdStartString="http://www.NetBSD.org/XML/atf"
rewritePrefix="/usr/share/xml/atf" />
</catalog>