summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unicode/Makefile.am4
-rw-r--r--unicode/book.xml16
2 files changed, 18 insertions, 2 deletions
diff --git a/unicode/Makefile.am b/unicode/Makefile.am
index 1019999..986151e 100644
--- a/unicode/Makefile.am
+++ b/unicode/Makefile.am
@@ -180,6 +180,8 @@ docs:
--stringparam root.filename 'index' \
--stringparam generate.id.attributes 1 \
$(srcdir)/docbook/docbook.xsl $(srcdir)/book.xml
+ for f in html.tmp/*; do tidy -i -q --tidy-mark no --doctype transitional --input-encoding utf8 --output-encoding utf8 -asxml <$$f >$$f.tmp; xsltproc --nonet $$HOME/www/www.courier-mta.org/xsl/unicode.xsl $$f.tmp | perl -ne 's~\$(id):.*\$$~\$(id):'"$$h"'\$$~; print' >$$f; rm -f $$f.tmp; done
+
mkdir -p html
rm -f html/*
mv html.tmp/* html
@@ -249,7 +251,7 @@ upload-dist:
test -z "$(SFPASSWD)" && exit 1; exit 0
rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1
set -e; v="@PACKAGE@/@VERSION@/`date +%Y%m%d%H%M%S`"; git tag -s $$v -m 'Tag version @VERSION@'
- socksify ~/src/sftools/release.pl mrsam $(SFPASSWD) courier courier @VERSION@ @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig
+ socksify ~/src/sftools/release.pl mrsam $(SFPASSWD) courier $(PACKAGE) @VERSION@ @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig
www:
rsync -a html/. $$HOME/www/www.courier-mta.org/unicode
diff --git a/unicode/book.xml b/unicode/book.xml
index f16bac0..a95d0a9 100644
--- a/unicode/book.xml
+++ b/unicode/book.xml
@@ -70,7 +70,7 @@ See COPYING for distribution information.
</section>
<section id="INSTALL">
- <title>Installation</title>
+ <title>Installation and usage</title>
<para>
Download the current version of the library from
@@ -79,6 +79,20 @@ See COPYING for distribution information.
the usual options, followed by <command>make</command>, then
<command>make install</command>.
</para>
+
+ <para>
+ To use the library, <quote>#include &lt;unicode.h&gt;</quote> and link
+ with <literal>-lunicode</literal>.
+ The starting point is
+ <link linkend="courier-unicode">
+ <citerefentry>
+ <refentrytitle>courier-unicode</refentrytitle>
+ <manvolnum>7</manvolnum></citerefentry></link>.
+ Refer to the included manual pages,
+ and
+ <ulink url="http://www.courier-mta.org/unicode/manpages.html"> the HTML
+ version of the man pages</ulink> for more information.
+ </para>
</section>
<section id="manpages">