summaryrefslogtreecommitdiff
path: root/docs-xml/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-12-12 11:01:51 +0100
committerAndreas Schneider <asn@cryptomilk.org>2017-12-13 13:20:08 +0100
commit2abb55b73522ccd8f08847d26c06769ec2eecc27 (patch)
treefad3ae044a3c992558f9956d2ad776dc26b4bb1c /docs-xml/build
parent00d3019262544a730929fab2d525b23efe226906 (diff)
downloadsamba-2abb55b73522ccd8f08847d26c06769ec2eecc27.tar.gz
docs-xml: autogenerate a doc.version XML entity.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9531 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Karolin Seeger <kseeger@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'docs-xml/build')
-rw-r--r--docs-xml/build/DTD/samba-doc5
-rw-r--r--docs-xml/build/DTD/samba.build.version.in1
-rw-r--r--docs-xml/build/catalog.xml.in4
3 files changed, 10 insertions, 0 deletions
diff --git a/docs-xml/build/DTD/samba-doc b/docs-xml/build/DTD/samba-doc
index afde3481dbe..9873aa03458 100644
--- a/docs-xml/build/DTD/samba-doc
+++ b/docs-xml/build/DTD/samba-doc
@@ -23,6 +23,11 @@
"samba.entities">
%samba.entities;
+<!ENTITY % samba.build.version PUBLIC
+ "-//Samba-Team//VERSION Samba Build Version//EN"
+ "http://www.samba.org/samba/LOCAL.BUILDDIR.DTD/samba.build.version">
+%samba.build.version;
+
<!-- smb.conf options -->
<!ELEMENT smbconfblock ((smbconfoption|smbconfsection|smbconfcomment)*)>
diff --git a/docs-xml/build/DTD/samba.build.version.in b/docs-xml/build/DTD/samba.build.version.in
new file mode 100644
index 00000000000..775e08bb1ee
--- /dev/null
+++ b/docs-xml/build/DTD/samba.build.version.in
@@ -0,0 +1 @@
+<!ENTITY doc.version '@doc_version@'>
diff --git a/docs-xml/build/catalog.xml.in b/docs-xml/build/catalog.xml.in
index 56d13a6cd39..77bf87eeb7e 100644
--- a/docs-xml/build/catalog.xml.in
+++ b/docs-xml/build/catalog.xml.in
@@ -9,6 +9,10 @@
rewritePrefix="file://@abs_top_srcdir@/build/DTD/"/>
<rewriteURI
+ uriStartString="http://www.samba.org/samba/LOCAL.BUILDDIR.DTD/"
+ rewritePrefix="file://@abs_top_builddir@/build/DTD/"/>
+
+ <rewriteURI
uriStartString="http://www.gnu.org/licenses/"
rewritePrefix="file://@abs_top_srcdir@/Samba3-ByExample/"/>
<rewriteURI