aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/groff.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-01 22:31:50 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-01 22:31:50 +0000
commit73aedd1d35747ff2fad4ddf514dca810721a612a (patch)
treed05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/groff.xml
parent0b400add2ba87352e955326bcb931e53864cc2ae (diff)
Merging caption and installation sections for all packages in chapters 5 and 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/groff.xml')
-rw-r--r--chapter06/groff.xml32
1 files changed, 31 insertions, 1 deletions
diff --git a/chapter06/groff.xml b/chapter06/groff.xml
index 6699b0c81..4c3531fd9 100644
--- a/chapter06/groff.xml
+++ b/chapter06/groff.xml
@@ -7,7 +7,37 @@ Estimated required disk space: &groff-compsize;</screen>
&aa-groff-shortdesc;
&aa-groff-dep;
-&c6-groff-inst;
+
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
+<sect2>
+<title>Installation of Groff</title>
+
+<para>Groff expects the environment variable PAGE to contain the default paper
+size. For those in the United States, the command below is appropriate. If you
+live elsewhere, you may want to change <emphasis>PAGE=letter</emphasis> to
+<emphasis>PAGE=A4</emphasis>.</para>
+
+<para>Prepare Groff for compilation:</para>
+
+<screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen>
+
+<para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+<para>And install it:</para>
+
+<screen><userinput>make install</userinput></screen>
+
+<para>Some documentation programs, such as <userinput>xman</userinput>,
+will not work work properly without the following symlinks:</para>
+
+<screen><userinput>ln -s soelim /usr/bin/zsoelim
+ln -s eqn /usr/bin/geqn
+ln -s tbl /usr/bin/gtbl</userinput></screen>
+
+</sect2>
</sect1>