summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b20643..ff5f000 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,8 @@ $(TARBALL): Makefile LICENCE DONATING schemas.xml $(RNCS)
.dtd.rnc:
trang -I dtd -O rnc $< $@
+# Trang will guess "packages" as start element, which causes Emacs
+# nXML validation to fail. So specify the start elements explicitly.
metadata.rnc: metadata.dtd
trang -I dtd -O rnc -i no-generate-start $< $@
echo 'start = catmetadata | pkgmetadata' >> $@