From 820e2ee7e099540a40b930b75037a8233ded1820 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sun, 29 Apr 2001 20:46:19 +0000 Subject: Use man patch instead of the sed hacks git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@557 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/man-inst.xml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'chapter06/man-inst.xml') 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 @@ Installation of Man -Install Man by running the following commands: +Before Man is installed, the man patch file needs to be unpacked.
- sed -e 's|in \(.*\$PATH\)|in `echo \1`|' - \ -    configure > tmp~ + patch -Np1 -i ../man-&man-version;.patch && - mv tmp~ configure && - chmod 755 configure && ./configure -default && make && - make install && - sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ - \ -    /usr/sbin/makewhatis - > makewhatis-new && - mv makewhatis-new /usr/sbin/makewhatis && - - chmod 755 /usr/sbin/makewhatis + make install
-- cgit v1.2.3-54-g00ecf