all:: defguide.rng defguide.rnc defguide.dtd
-clean:: ; rm -f $(_MODULE)/defguide.rnc
-
-$(_MODULE)/defguide.rnc: src/docbook.rnc
- cat $< | sed "s/include \"/include \"..\/src\//" > $@
- echo 'include "../dbforms/htmlform.rnc"' >> $@
+clean:: ; rm -f defguide.rng defguide.rnc defguide.dtd
$(_OUTTOP)/defguide/defguide.rng: src/annotations.rnc src/bibliography.rnc \
src/callouts.rnc src/calstbl.rnc dbforms/htmlform.rnc \
--- /dev/null
+# This file is part of DocBook NG: The "Mezcal" Release.
+
+# This schema is a "work-in-progress". It validates a DocBook-like grammar that
+# may, in some incarnation, form the basis for DocBook V.next. Or it may not.
+# At the moment, it's just an exploration by Norm. It has utterly no normative
+# value at all.
+#
+# Author: Norman Walsh, <ndw@nwalsh.com>
+# Source: Derived from DocBook XML V4.3
+# Release: $Id$
+#
+# ======================================================================
+
+namespace ctrl = "http://nwalsh.com/xmlns/schema-control/"
+namespace rng = "http://relaxng.org/ns/structure/1.0"
+namespace s = "http://www.ascc.net/xml/schematron"
+namespace db = "http://docbook.org/ns/docbook"
+default namespace = "http://docbook.org/ns/docbook"
+
+include "../src/docbook.rnc"
+include "../dbforms/htmlform.rnc"