aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <marius.vollmer@nokia.com>2009-04-02 21:00:20 +0300
committerMarius Vollmer <marius.vollmer@nokia.com>2009-04-02 21:00:35 +0300
commit6cf68151fe59e14af4c09f6227e563b3bca95a0d (patch)
tree74166583b184afdea6dc559c4d6aa9a58adb3404
parentd7a981e0eaac5e70379c86ef41d018dac91d3696 (diff)
Moved generation of schema docs into doc/.
-rw-r--r--doc/Makefile.am9
-rw-r--r--doc/xs3p/CHANGES (renamed from spec/xs3p/CHANGES)0
-rw-r--r--doc/xs3p/LICENSE.html (renamed from spec/xs3p/LICENSE.html)0
-rw-r--r--doc/xs3p/README.txt (renamed from spec/xs3p/README.txt)0
-rw-r--r--doc/xs3p/examples/XMLSchema.xsd (renamed from spec/xs3p/examples/XMLSchema.xsd)0
-rw-r--r--doc/xs3p/examples/address.xsd (renamed from spec/xs3p/examples/address.xsd)0
-rw-r--r--doc/xs3p/examples/build.xml (renamed from spec/xs3p/examples/build.xml)0
-rw-r--r--doc/xs3p/examples/ipo.xsd (renamed from spec/xs3p/examples/ipo.xsd)0
-rw-r--r--doc/xs3p/examples/links.xml (renamed from spec/xs3p/examples/links.xml)0
-rw-r--r--doc/xs3p/examples/po.xsd (renamed from spec/xs3p/examples/po.xsd)0
-rw-r--r--doc/xs3p/examples/recursion.xsd (renamed from spec/xs3p/examples/recursion.xsd)0
-rw-r--r--doc/xs3p/examples/report.xsd (renamed from spec/xs3p/examples/report.xsd)0
-rw-r--r--doc/xs3p/examples/test_msxsl.bat (renamed from spec/xs3p/examples/test_msxsl.bat)0
-rw-r--r--doc/xs3p/examples/test_xalanj.bat (renamed from spec/xs3p/examples/test_xalanj.bat)0
-rw-r--r--doc/xs3p/examples/test_xsltproc.sh (renamed from spec/xs3p/examples/test_xsltproc.sh)0
-rw-r--r--doc/xs3p/examples/xml.xsd (renamed from spec/xs3p/examples/xml.xsd)0
-rw-r--r--doc/xs3p/links.dtd (renamed from spec/xs3p/links.dtd)0
-rw-r--r--doc/xs3p/links.xsd (renamed from spec/xs3p/links.xsd)0
-rw-r--r--doc/xs3p/xs3p.xsl (renamed from spec/xs3p/xs3p.xsl)0
-rwxr-xr-xspec/gen_doc.sh4
20 files changed, 7 insertions, 6 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 01818da9..c41a4b00 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS=reference
htmldir = $(datadir)/doc/contextkit/html/
html_ASCIIDOCS = context-intro.txt context-providers.txt
-html_EXTRA = context-properties.html contextkit.html
+html_EXTRA = context-properties.html contextkit.html context-provider-schema.html
MAINTAINERCLEANFILES = context-properties.html contextkit.html
@@ -22,6 +22,11 @@ XSLTPROC = xsltproc --xinclude --nonet
contextkit.html: $(spec_dir)/all.xml $(SPEC_FILES) doc-generator.xsl
$(XSLTPROC) $(srcdir)/doc-generator.xsl $< > $@.tmp && mv $@.tmp $@
+# Creating docs from a XML schema
+
+context-provider-schema.html: $(spec_dir)/context.xsd
+ xsltproc --nonet --output $@ xs3p/xs3p.xsl $<
+
# Support for html_ASCIIDOCS and html_EXTRA
html_DATA = $(html_EXTRA) \
@@ -33,5 +38,5 @@ html-local: $(html_EXTRA) $(html_ASCIIDOCS:.txt=.html)
%.html: %.txt
asciidoc -f myfilter.conf $^
-EXTRA_DIST = $(html_ASCIIDOCS) $(html_DATA)
+EXTRA_DIST = $(html_ASCIIDOCS) $(html_DATA) doc-generator.xsl xs3p
MAINTAINERCLEANFILES += $(html_DATA)
diff --git a/spec/xs3p/CHANGES b/doc/xs3p/CHANGES
index 6a67241c..6a67241c 100644
--- a/spec/xs3p/CHANGES
+++ b/doc/xs3p/CHANGES
diff --git a/spec/xs3p/LICENSE.html b/doc/xs3p/LICENSE.html
index 263e6356..263e6356 100644
--- a/spec/xs3p/LICENSE.html
+++ b/doc/xs3p/LICENSE.html
diff --git a/spec/xs3p/README.txt b/doc/xs3p/README.txt
index c9c2df10..c9c2df10 100644
--- a/spec/xs3p/README.txt
+++ b/doc/xs3p/README.txt
diff --git a/spec/xs3p/examples/XMLSchema.xsd b/doc/xs3p/examples/XMLSchema.xsd
index b8229fd9..b8229fd9 100644
--- a/spec/xs3p/examples/XMLSchema.xsd
+++ b/doc/xs3p/examples/XMLSchema.xsd
diff --git a/spec/xs3p/examples/address.xsd b/doc/xs3p/examples/address.xsd
index 61456139..61456139 100644
--- a/spec/xs3p/examples/address.xsd
+++ b/doc/xs3p/examples/address.xsd
diff --git a/spec/xs3p/examples/build.xml b/doc/xs3p/examples/build.xml
index 8b4a4e57..8b4a4e57 100644
--- a/spec/xs3p/examples/build.xml
+++ b/doc/xs3p/examples/build.xml
diff --git a/spec/xs3p/examples/ipo.xsd b/doc/xs3p/examples/ipo.xsd
index 419416ea..419416ea 100644
--- a/spec/xs3p/examples/ipo.xsd
+++ b/doc/xs3p/examples/ipo.xsd
diff --git a/spec/xs3p/examples/links.xml b/doc/xs3p/examples/links.xml
index 5bea6b8c..5bea6b8c 100644
--- a/spec/xs3p/examples/links.xml
+++ b/doc/xs3p/examples/links.xml
diff --git a/spec/xs3p/examples/po.xsd b/doc/xs3p/examples/po.xsd
index 65ed8616..65ed8616 100644
--- a/spec/xs3p/examples/po.xsd
+++ b/doc/xs3p/examples/po.xsd
diff --git a/spec/xs3p/examples/recursion.xsd b/doc/xs3p/examples/recursion.xsd
index cbe14b36..cbe14b36 100644
--- a/spec/xs3p/examples/recursion.xsd
+++ b/doc/xs3p/examples/recursion.xsd
diff --git a/spec/xs3p/examples/report.xsd b/doc/xs3p/examples/report.xsd
index 9cc6cca2..9cc6cca2 100644
--- a/spec/xs3p/examples/report.xsd
+++ b/doc/xs3p/examples/report.xsd
diff --git a/spec/xs3p/examples/test_msxsl.bat b/doc/xs3p/examples/test_msxsl.bat
index 70f847cc..70f847cc 100644
--- a/spec/xs3p/examples/test_msxsl.bat
+++ b/doc/xs3p/examples/test_msxsl.bat
diff --git a/spec/xs3p/examples/test_xalanj.bat b/doc/xs3p/examples/test_xalanj.bat
index 3a3f0769..3a3f0769 100644
--- a/spec/xs3p/examples/test_xalanj.bat
+++ b/doc/xs3p/examples/test_xalanj.bat
diff --git a/spec/xs3p/examples/test_xsltproc.sh b/doc/xs3p/examples/test_xsltproc.sh
index f2e3120a..f2e3120a 100644
--- a/spec/xs3p/examples/test_xsltproc.sh
+++ b/doc/xs3p/examples/test_xsltproc.sh
diff --git a/spec/xs3p/examples/xml.xsd b/doc/xs3p/examples/xml.xsd
index 8e4d6665..8e4d6665 100644
--- a/spec/xs3p/examples/xml.xsd
+++ b/doc/xs3p/examples/xml.xsd
diff --git a/spec/xs3p/links.dtd b/doc/xs3p/links.dtd
index c9f348ac..c9f348ac 100644
--- a/spec/xs3p/links.dtd
+++ b/doc/xs3p/links.dtd
diff --git a/spec/xs3p/links.xsd b/doc/xs3p/links.xsd
index 7928bc3e..7928bc3e 100644
--- a/spec/xs3p/links.xsd
+++ b/doc/xs3p/links.xsd
diff --git a/spec/xs3p/xs3p.xsl b/doc/xs3p/xs3p.xsl
index b127948b..b127948b 100644
--- a/spec/xs3p/xs3p.xsl
+++ b/doc/xs3p/xs3p.xsl
diff --git a/spec/gen_doc.sh b/spec/gen_doc.sh
deleted file mode 100755
index d5be95ba..00000000
--- a/spec/gen_doc.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-xsltproc --nonet --output context-provider-schema.html \
- xs3p/xs3p.xsl \
- context.xsd