aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/tar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/tar.xml')
-rw-r--r--chapter06/tar.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/tar.xml b/chapter06/tar.xml
index 602b7a1f6..8307909d7 100644
--- a/chapter06/tar.xml
+++ b/chapter06/tar.xml
@@ -40,6 +40,10 @@
<sect2 role="installation">
<title>Installation of Tar</title>
+ <para>Add a program that generates a man page for tar from the source code:</para>
+
+ <screen><userinput remap="pre">patch -Np1 -i ../&tar-manpage-patch;</userinput></screen>
+
<para>Fix an incompatibility between this package and Glibc-&glibc-version;:</para>
<screen><userinput remap="pre">sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen>
@@ -78,6 +82,10 @@
<screen><userinput remap="install">make install
make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
+ <para>Finally, generate the man page and place it in the proper location:</para>
+
+<screen><userinput remap="install">perl tarman &gt; /usr/share/man/man1/</userinput></screen>
+
</sect2>