diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-04-29 20:46:19 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-04-29 20:46:19 +0000 |
commit | 820e2ee7e099540a40b930b75037a8233ded1820 (patch) | |
tree | 1e597799a50a102d6ab2af4f406cb3bad6baeee7 | |
parent | c67bd1eed697bafa11ec7455d5177c0bc2751172 (diff) |
Use man patch instead of the sed hacks
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@557 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter06/man-inst.xml | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml index b12d20ea3..cc1024048 100644 --- a/chapter06/man-inst.xml +++ b/chapter06/man-inst.xml @@ -2,26 +2,15 @@ <title>Installation of Man</title> <para> -Install Man by running the following commands: +Before Man is installed, the man patch file needs to be unpacked. </para> <blockquote><literallayout> - <userinput>sed -e 's|in \(.*\$PATH\)|in `echo \1`|' - \</userinput> - <userinput> configure > tmp~ + <userinput>patch -Np1 -i ../man-&man-version;.patch &&</userinput> - <userinput>mv tmp~ configure &&</userinput> - <userinput>chmod 755 configure &&</userinput> <userinput>./configure -default &&</userinput> <userinput>make &&</userinput> - <userinput>make install &&</userinput> - <userinput>sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ - \</userinput> - <userinput> /usr/sbin/makewhatis - > makewhatis-new &&</userinput> - <userinput>mv makewhatis-new /usr/sbin/makewhatis && - </userinput> - <userinput>chmod 755 /usr/sbin/makewhatis</userinput> + <userinput>make install</userinput> </literallayout></blockquote> <para> |