]> granicus.if.org Git - docbook-dsssl/commitdiff
Added defguide module
authorNorman Walsh <ndw@nwalsh.com>
Thu, 7 Jul 2005 11:49:14 +0000 (11:49 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 7 Jul 2005 11:49:14 +0000 (11:49 +0000)
docbook/relaxng/docbook/Makefile
docbook/relaxng/docbook/defguide/.cvsignore [new file with mode: 0644]
docbook/relaxng/docbook/defguide/Makefile [new file with mode: 0644]

index a0787a1e8fc43ba2689c61017c53c70739b1dde7..801b1ee6e57f25567f0e2e9164a3b354d5532e22 100644 (file)
@@ -28,6 +28,6 @@ clean:: ; @rm -rf $(_OUTTOP)
 
 .SUFFIXES:
 
-MODULES=docbook dbforms
+MODULES=docbook dbforms defguide
 
 include $(addsuffix /Makefile,$(MODULES))
diff --git a/docbook/relaxng/docbook/defguide/.cvsignore b/docbook/relaxng/docbook/defguide/.cvsignore
new file mode 100644 (file)
index 0000000..56cf3a7
--- /dev/null
@@ -0,0 +1 @@
+defguide.rnc
diff --git a/docbook/relaxng/docbook/defguide/Makefile b/docbook/relaxng/docbook/defguide/Makefile
new file mode 100644 (file)
index 0000000..258cade
--- /dev/null
@@ -0,0 +1,26 @@
+# This Makefile builds the $(_OUTTOP)/defguide/defguide.rnd file used by
+# the documentation build process. It doesn't actually build any schemas.
+# The defguide.rnc file is arranged to be an exact copy of docbook.rnc
+# except that it excludes the xinclude module. This dramatically simplifies
+# the content models for the purpose of documentation.
+
+include _header.mak
+
+SRCS = defguide.rnc
+
+BINARY = defguide.rnd
+
+$(_MODULE)/defguide.rnc: src/docbook.rnc
+       cat $< | grep -v xinclude | sed "s/include \"/include \"..\/src\//" > $@
+
+$(_OUTTOP)/defguide/defguide.rng: src/annotations.rnc src/bibliography.rnc \
+             src/callouts.rnc src/calstbl.rnc src/dbforms.rnc \
+             src/docbook.rnc src/ebnf.rnc src/glossary.rnc \
+             src/hier.rnc src/htmlform.rnc src/htmltbl.rnc \
+             src/index.rnc src/math.rnc src/mathml.rnc \
+             src/msgset.rnc src/pool.rnc src/qandaset.rnc \
+             src/refentry.rnc src/refsect1.rnc src/sect1.rnc \
+             src/svg.rnc src/tasks.rnc src/toc.rnc \
+             src/xinclude.rnc src/xlink.rnc
+
+include _footer.mak