diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/groff.xml | 20 |
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><paper_size></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> |