From 54158a45fa04a57bef774e79082e0f3a565b06b6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 19 Mar 2010 10:11:24 +0100 Subject: doc: make README-prereq more generic * README-prereq: Adjust wording and reduce number of mentions of "coreutils", so it's easier to reuse in another package: grep. --- README-prereq | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'README-prereq') diff --git a/README-prereq b/README-prereq index fcb505844..265161fa5 100644 --- a/README-prereq +++ b/README-prereq @@ -14,14 +14,18 @@ I.E. the tools checked for by the bootstrap script and include: - Texinfo Note please try to install/build official packages for your system. -If these are not available then one can make them available only to -the coreutils build using the following instructions. Even if the -official packages for your system are too old, please install them -as they may be required to build the newer versions. The examples -below build into $HOME/coreutils/deps/, so first ensure that your -$PATH is set correctly, which can be done for the current shell like: +If these programs are not available use the following instructions +to build them and install the results into a directory that you will +then use when building this package. - export PATH=$HOME/coreutils/deps/bin:$PATH +Even if the official version of a package for your system is too old, +please install it, as it may be required to build the newer versions. +The examples below install into $HOME/coreutils/deps/, so if you are +going to follow these instructions, first ensure that your $PATH is +set correctly by running this command: + + prefix=$HOME/coreutils/deps + export PATH=$prefix/bin:$PATH * autoconf * @@ -29,7 +33,7 @@ $PATH is set correctly, which can be done for the current shell like: git clone --depth=1 git://git.sv.gnu.org/autoconf.git git checkout v2.62 autoreconf -vi - ./configure --prefix=$HOME/coreutils/deps + ./configure --prefix=$prefix make install * automake * @@ -39,7 +43,7 @@ $PATH is set correctly, which can be done for the current shell like: cd automake git checkout v1.11.1 ./bootstrap - ./configure --prefix=$HOME/coreutils/deps + ./configure --prefix=$prefix make install coreutils uses XZ utils (successor to LZMA) to create @@ -51,7 +55,7 @@ requires version 1.10a or newer, as well as the xz program itself. git clone git://ctrl.tukaani.org/xz.git cd xz ./autogen.sh - ./configure --prefix=$HOME/coreutils/deps + ./configure --prefix=$prefix make install -Now one can build coreutils as described in README-hacking. +Now you can build this package as described in README-hacking. -- cgit v1.2.3-54-g00ecf