2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

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.
This commit is contained in:
Jeremy C. Reed
2014-08-28 09:37:32 -07:00
parent f35916a185
commit 95ebef4edf

View File

@@ -2,6 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY mdash "&#x2014;" > <!ENTITY mdash "&#x2014;" >
<!ENTITY % version SYSTEM "version.ent">
%version;
]> ]>
<chapter id="quickstart"> <chapter id="quickstart">
@@ -34,13 +36,13 @@
<listitem> <listitem>
<para> <para>
Extract the tarball. For example: 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> </para>
</listitem> </listitem>
<listitem> <listitem>
<para>Go into the source directory and run the configure script: <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> $ <userinput>./configure [your extra parameters]</userinput></screen>
</para> </para>
</listitem> </listitem>