diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-08 10:16:43 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-08 10:16:43 +0000 |
commit | 0c9661dc834fe89f30d2c0515775e5dfe3ac63a4 (patch) | |
tree | e8c12502efcdf5fa2a57c1cf657e3c7dc47c773b /chapter06/man-inst.xml | |
parent | 354f0a18bcf3835f5d5e99fdabd1fd9be82d0f3e (diff) |
man patch --> sed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/man-inst.xml')
-rw-r--r-- | chapter06/man-inst.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml index c2eba71e2..963a083ca 100644 --- a/chapter06/man-inst.xml +++ b/chapter06/man-inst.xml @@ -1,9 +1,12 @@ <sect2> <title>Installation of Man</title> -<para>Before Man is installed, the man patch file needs to be unpacked.</para> +<para>Run the following commands to install man:</para> -<para><screen><userinput>patch -Np1 -i ../man-&man-version;.patch &&</userinput> +<para><screen><userinput>for i in configure src/Makefile.in src/makewhatis.sh</userinput> +<userinput>do sed s/gawk/awk/g $i > $i.fixed</userinput> +<userinput>mv $i.fixed $i</userinput> +<userinput>done</userinput> <userinput>./configure -default &&</userinput> <userinput>make &&</userinput> <userinput>make install</userinput></screen></para> |