aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2013-01-02 18:41:21 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2013-01-02 18:41:21 +0000
commit668f94d7af515575004f23c8f4084a431a7db2dd (patch)
tree402bc08cb80cf0d8f0bf710f16bacfd5949a21b8 /chapter06
parent5924c4fe65dec624d376837edc1bc56e7a50df9e (diff)
Upgrade to Groff-1.22.1. Fixes #3266.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10091 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/groff.xml20
1 files changed, 8 insertions, 12 deletions
diff --git a/chapter06/groff.xml b/chapter06/groff.xml
index dbe24a882..315c3230c 100644
--- a/chapter06/groff.xml
+++ b/chapter06/groff.xml
@@ -41,16 +41,6 @@
<sect2 role="installation">
<title>Installation of Groff</title>
- <!-- It looks like many screen fonts still don't have Unicode single quotes
- and dashes in them, but the sed below no longer makes any changes as the
- format has changed in Groff-1.20.1 -->
-
-<!-- <para>Many screen fonts don't have Unicode single quotes and dashes in them.
- Tell Groff to use the ASCII equivalents instead:</para>
-
-<screen><userinput remap="pre">sed -i -e 's/2010/002D/' -e 's/2212/002D/' \
- -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto</userinput></screen> -->
-
<para>Groff expects the environment variable <envar>PAGE</envar> to
contain the default paper size. For users in the United States,
<parameter>PAGE=letter</parameter> is appropriate. Elsewhere,
@@ -59,7 +49,12 @@
by echoing either <quote>A4</quote> or <quote>letter</quote> to the
<filename>/etc/papersize</filename> file.</para>
- <para>Prepare Groff for compilation:</para>
+ <para>First, fix a bug in a Makefile, that prevents a symlink to a PDF from
+being created correctly:</para>
+
+<screen><userinput remap="pre">sed -i -e '163 s/$(DESTDIR)//' contrib/mom/Makefile.sub</userinput></screen>
+
+ <para>Now, prepare Groff for compilation:</para>
<screen><userinput remap="configure">PAGE=<replaceable>&lt;paper_size&gt;</replaceable> ./configure --prefix=/usr</userinput></screen>
@@ -71,7 +66,8 @@
<para>Install the package:</para>
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">mkdir -p /usr/share/doc/groff-1.22/pdf
+make install</userinput></screen>
<para>Some documentation programs, such as <command>xman</command>,
will not work properly without the following symlinks:</para>