]> granicus.if.org Git - docbook-dsssl/commitdiff
Don't rebuild defguide.rnc
authorNorman Walsh <ndw@nwalsh.com>
Thu, 21 Jul 2005 21:34:52 +0000 (21:34 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 21 Jul 2005 21:34:52 +0000 (21:34 +0000)
docbook/relaxng/docbook/defguide/.cvsignore [deleted file]
docbook/relaxng/docbook/defguide/Makefile
docbook/relaxng/docbook/defguide/defguide.rnc [new file with mode: 0644]

diff --git a/docbook/relaxng/docbook/defguide/.cvsignore b/docbook/relaxng/docbook/defguide/.cvsignore
deleted file mode 100644 (file)
index 56cf3a7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-defguide.rnc
index 4d86674be99b5bfebc0381053deaf0b2d7a35c7a..4127618a20cf69d9dbcad99641c87b2e3ef70def 100644 (file)
@@ -12,11 +12,7 @@ BINARY = defguide.rnd
 
 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 \
diff --git a/docbook/relaxng/docbook/defguide/defguide.rnc b/docbook/relaxng/docbook/defguide/defguide.rnc
new file mode 100644 (file)
index 0000000..36426d8
--- /dev/null
@@ -0,0 +1,21 @@
+# 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"