- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/diffutils.xml
r1bcea75 r686839b 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 32 28 <para os="a">Prepare Diffutils for compilation:</para> 33 29 34 30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 35 31 36 <para os="s 3">Diffutils wants <command>ed</command> as the default editor.32 <para os="s1">Diffutils wants <command>ed</command> as the default editor. 37 33 The following sed will change the default to <command>vim</command>:</para> 38 34 39 <screen os="s 4"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h</userinput></screen>35 <screen os="s2"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h</userinput></screen> 40 36 41 37 <para os="c">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.