aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@debian.org>2006-02-25 13:54:46 +0000
committerPetter Reinholdtsen <pere@debian.org>2006-02-25 13:54:46 +0000
commitba82cd7c3d98d9701271748a233fb577027e7bf7 (patch)
tree93e0a2cde11d40ce1b1d9b5c7d563874087da168
parent5ab5c654100b2d52d6efb6fefd8a974760aa79f4 (diff)
downloadhomepage-ba82cd7c3d98d9701271748a233fb577027e7bf7.tar.gz
homepage-ba82cd7c3d98d9701271748a233fb577027e7bf7.tar.bz2
homepage-ba82cd7c3d98d9701271748a233fb577027e7bf7.tar.xz
Improve build instructions.
-rw-r--r--developer.html72
1 files changed, 61 insertions, 11 deletions
diff --git a/developer.html b/developer.html
index 310f01c..60be91a 100644
--- a/developer.html
+++ b/developer.html
@@ -3,7 +3,7 @@
<html>
<head>
- <title>Build instructions for the norwegian spellchecking system</title>
+ <title>Build instructions for the Norwegian spell checking system</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<link rev="made" href="mailto:i18n-no&#64;lister&#46;ping&#46;uio&#46;no">
<link rel="top" href="http://no.speling.org/">
@@ -23,14 +23,65 @@
<div class="body">
- <h1>Build instructions for the norwegian spellchecking system</h1>
+ <h1>Build instructions for the Norwegian spell checking system</h1>
-<br>
-Short information for building the wordlist with cvs checkout.<br>
-<br>
-Steps for building wordlists.<br>
-<br>
-Download ispell.3.2.06<br>
+<h2>Getting the source</h2>
+
+<p>A source tarball is available
+<a href="https://alioth.debian.org/projects/spell-norwegian/">from
+alioth</a>, and the latest development version is available from CVS.
+See the Alioth project page for download instructions.</p>
+
+<h2>Build dependencies</h2>
+
+<p>The build is using binaries from ispell to generate the list of
+base words with affixes based on a list of words and frequency
+information. This is the source for the other spell checking systems.
+To speed up this build, ssed is used instead of the slow GNU sed.</p>
+
+<p>To generate aspell and myspell files, one first need ispell and
+then aspell or myspell.</p>
+
+<h2>Building and installing the ispell/aspell/myspell data files</h2>
+
+<p>There are four useful 'top level' makefile targets; <tt>words</tt>,
+<tt>ispell</tt>, <tt>myspell</tt> and <tt>aspell</tt>. Each of these
+have install targets as well; <tt>install-words</tt>,
+<tt>install-ispell</tt>, <tt>install-myspell</tt> and
+<tt>install-aspell</tt>. In addition there are install targets for
+the scripts (<tt>install-scripts</tt>) and documentation
+(<tt>install-doc</tt>). The <tt>DESTDIR</tt> variable is supposed for
+convenience. All of the build and install targets can be called with
+nb and nn variants, for example <tt>install-ispell-nb</tt> to only
+install the nb version.</p>
+
+<p>So, to build and install the myspell dictionary, this is the
+command:
+
+<blockquote><pre>
+make install-myspell DESTDIR=/some/path
+</pre></blockquote>
+
+<h2>Building the tarball and distribution files</h2>
+
+The tarball is generated using the <tt>dist</tt> makefile target. It
+is best to use the <tt>distcheck</tt> target instead to do a test
+build of the generated tarball to check if all the required files are
+included. This target will also generate a package for OpenOffice.org
+(<Tt>no_NO-<em>version</em>.zip</tt>) as well as the
+<tt>spell-norwegian-<em>version</em>.tar.gz</tt> tarball.
+
+<blockquote><pre>
+make distcheck
+</pre></blockquote>
+
+<h2>Old instructions</h2>
+
+<p>Short information for building the word list with cvs checkout.
+
+<p>Steps for building wordlists.
+
+<p>Download ispell.3.2.06<br>
Untar ispell package<br>
Patch with ispell patch from cvs<br>
copy files for cvs into languages/norsk folder inside ispell folder.<br>
@@ -46,9 +97,8 @@ To make the ispell files type<br>
<br>
make all<br>
<br>
-this will make the nynorsk.hash and bokmal.hash ispell files.<br>
-<br>
-More information coming.<br>
+this will make the nynorsk.hash and bokmal.hash ispell files.
+
</div>
<div class="hbar"></div>