diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-08-31 23:19:17 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2013-08-31 23:19:17 +0000 |
commit | e6ae50d13362327e9e2a189608b0dd9b8d4c24e7 (patch) | |
tree | f2264006454a1baf36c50036e118b076cd81a068 /chapter06/tar.xml | |
parent | 20dd3342f7a9b550c6ce567f0fd4ed96c70c6fbe (diff) |
Add patch and instructions to generate tar manpage.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10332 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/tar.xml')
-rw-r--r-- | chapter06/tar.xml | 8 |
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 > /usr/share/man/man1/</userinput></screen> + </sect2> |