- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/diffutils.xml
r686839b r1bcea75 26 26 <title>Installation of Diffutils</title> 27 27 28 <para os="s1">Fix a file so locale files are installed:</para> 29 30 <screen os="s2"><userinput>sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in</userinput></screen> 31 28 32 <para os="a">Prepare Diffutils for compilation:</para> 29 33 30 34 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 31 35 32 <para os="s 1">Diffutils wants <command>ed</command> as the default editor.36 <para os="s3">Diffutils wants <command>ed</command> as the default editor. 33 37 The following sed will change the default to <command>vim</command>:</para> 34 38 35 <screen os="s 2"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h</userinput></screen>39 <screen os="s4"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h</userinput></screen> 36 40 37 41 <para os="c">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.