Add version number to documentation

This commit is contained in:
Keith Packard 2003-03-07 20:45:43 +00:00
parent 4484582eba
commit fddb839bba
4 changed files with 32 additions and 10 deletions

View File

@ -337,6 +337,7 @@ src/Makefile
fc-cache/Makefile
fc-list/Makefile
doc/Makefile
doc/version.sgml
test/Makefile
fontconfig.spec
fontconfig.pc

View File

@ -15,6 +15,7 @@
<!ENTITY fcstring SYSTEM "fcstring.sgml">
<!ENTITY fcstrset SYSTEM "fcstrset.sgml">
<!ENTITY fcvalue SYSTEM "fcvalue.sgml">
<!ENTITY version SYSTEM "version.sgml">
]>
<!--
$Id$
@ -40,7 +41,7 @@
PERFORMANCE OF THIS SOFTWARE.
-->
<article>
<title>Fontconfig Developers Reference</title>
<title>Fontconfig Developers Reference, Version &version; </title>
<artheader>
<author>
<firstname>Keith</firstname>
@ -51,7 +52,7 @@
</author>
<authorinitials>KRP</authorinitials>
<productname>Fontconfig</productname>
<productnumber>2.1.91</productnumber>
<productnumber>&version;</productnumber>
<LegalNotice>
<simpara>
Copyright © 2002 Keith Packard
@ -76,14 +77,6 @@ PERFORMANCE OF THIS SOFTWARE.
</simpara>
</LegalNotice>
</artheader>
<!--
<refsynopsisdiv>
<synopsis>
#include &lt;fontconfig/fontconfig.h&gt;
#include &lt;fontconfig/fcfreetype.h&gt;
</synopsis>
</refsynopsisdiv>
-->
<sect1><title>DESCRIPTION</title>
<para>
Fontconfig is a library designed to provide system-wide font configuration,

View File

@ -81,4 +81,8 @@
@DESC@
</para>
</refsect1>
<refsect1><title>Version</title>
<para>
Fontconfig version &version;
</para>
</refentry>

24
doc/version.sgml.in Normal file
View File

@ -0,0 +1,24 @@
<!--
$Id$
Copyright © 2003 Keith Packard
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation, and that the name of Keith Packard not be used in
advertising or publicity pertaining to distribution of the software without
specific, written prior permission. Keith Packard makes no
representations about the suitability of this software for any purpose. It
is provided "as is" without express or implied warranty.
KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
-->
@VERSION@