Commit 5dd96968 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Add version to guide and use Makefile.am for guide.

Removed the static doc/guide/Makefile.
Added Makefile.am for that.

Added a docbook entity file for the BIND 10 version.

Change the guide to use that version.

Regenerated html for the guide too.
(Now it has the latest version hard-coded in the HTML.)
parent bfebabee
......@@ -574,6 +574,7 @@ AC_ARG_ENABLE(install-configurations,
AM_CONDITIONAL(INSTALL_CONFIGURATIONS, test x$install_configurations = xyes || test x$install_configurations = xtrue)
AC_CONFIG_FILES([Makefile
doc/guide/Makefile
src/Makefile
src/bin/Makefile
src/bin/bind10/Makefile
......@@ -655,7 +656,8 @@ AC_CONFIG_FILES([Makefile
src/lib/nsas/Makefile
src/lib/nsas/tests/Makefile
])
AC_OUTPUT([src/bin/cfgmgr/b10-cfgmgr.py
AC_OUTPUT([doc/version.ent
src/bin/cfgmgr/b10-cfgmgr.py
src/bin/cfgmgr/tests/b10-cfgmgr_test.py
src/bin/cmdctl/cmdctl.py
src/bin/cmdctl/run_b10-cmdctl.sh
......
#
# Quick and dirty makefile
#
# This is not a "man" manual, but reuse this for now for docbook.
if ENABLE_MAN
bind10-guide.html: bind10-guide.xml
xsltproc --novalid --xinclude --nonet \
-o bind10-guide.html \
--stringparam html.stylesheet bind10-guide.css \
--path $(top_builddir)/doc \
-o $@ \
--stringparam html.stylesheet $(srcdir)/bind10-guide.css \
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
bind10-guide.xml
$(srcdir)/bind10-guide.xml
clean:
rm -f bind10-guide.html
endif
This diff is collapsed.
......@@ -2,6 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY mdash "&#x2014;" >
<!ENTITY % version SYSTEM "version.ent">
%version;
]>
<book>
<?xml-stylesheet href="bind10-guide.css" type="text/css"?>
......@@ -15,13 +17,20 @@
</copyright>
<abstract>
<para>This is the reference guide for BIND 10.</para>
<para>
The most up-to-date version of this document, along with other documents
for BIND 10, can be found at
<ulink url="http://bind10.isc.org/docs"/>.
<para>BIND 10 is a Domain Name System (DNS) suite managed by
Internet Systems Consortium (ISC). It includes DNS libraries
and modular components for controlling authoritative and
recursive DNS servers.
</para>
</abstract>
<para>
This is the reference guide for BIND 10 version &__VERSION__;.
The most up-to-date version of this document, along with
other documents for BIND 10, can be found at <ulink
url="http://bind10.isc.org/docs"/>. </para> </abstract>
<releaseinfo>This is the reference guide for BIND 10 version
&__VERSION__;.</releaseinfo>
</bookinfo>
<chapter id="intro">
......@@ -35,8 +44,8 @@
<note>
<para>
This guide covers the experimental prototype version of
BIND 10.
This guide covers the experimental prototype of
BIND 10 version &__VERSION__;.
</para>
</note>
......
<!ENTITY __VERSION__ "@PACKAGE_VERSION@">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment