]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Do not hardcode version in example
authorJeremy C. Reed <jreed@isc.org>
Thu, 28 Aug 2014 16:37:32 +0000 (09:37 -0700)
committerWlodek Wencel <wlodek@isc.org>
Thu, 28 Aug 2014 16:54:10 +0000 (18:54 +0200)
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.

doc/guide/quickstart.xml

index 0b1d6cc9d045786130982d675cfdc061a2455923..12f08ccd95a8bdea78cffea3635ba90817eeba14 100644 (file)
@@ -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">
         <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>