Commit 95ebef4e authored by Jeremy C. Reed's avatar Jeremy C. Reed

Do not hardcode version in example

Did say 0.9-beta1 for 0.9 release for example.
So added the __VERSION__ macro.

Note that this may look ugly in the "git" branch or other
odd named versions but will match names if a dist tarball
was created from git master. But will be correct for official releases.

Okayed via jabber.
parent f35916a1
......@@ -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;
]>
<chapter id="quickstart">
......@@ -34,13 +36,13 @@
<listitem>
<para>
Extract the tarball. For example:
<screen>$ <userinput>tar xvf kea-0.9-beta1.tar.gz</userinput></screen>
<screen>$ <userinput>tar xvf kea-&__VERSION__;.tar.gz</userinput></screen>
</para>
</listitem>
<listitem>
<para>Go into the source directory and run the configure script:
<screen>$ <userinput>cd kea-0.9-beta1</userinput>
<screen>$ <userinput>cd kea-&__VERSION__;</userinput>
$ <userinput>./configure [your extra parameters]</userinput></screen>
</para>
</listitem>
......
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