From 91cfd9d1df64df13abf0cbcf4a6fb3c365b717d2 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sun, 19 Feb 2006 21:19:54 +0000 Subject: Build Sed's HTML docs using a configure switch instead of editing the Makefiles ourselves git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7384 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/sed.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'chapter06') diff --git a/chapter06/sed.xml b/chapter06/sed.xml index f115a1ee5..02c182297 100644 --- a/chapter06/sed.xml +++ b/chapter06/sed.xml @@ -43,16 +43,20 @@ Installation of Sed - By default, Sed installs its HTML documentation in - /usr/share/doc. Alter this to - /usr/share/doc/sed-&sed-version; by - applying the following sed: + Prepare Sed for compilation: -sed -i 's@/doc@&/sed-&sed-version;@' doc/Makefile.in +./configure --prefix=/usr --bindir=/bin --enable-html - Prepare Sed for compilation: + + The meaning of the new configure option: -./configure --prefix=/usr --bindir=/bin + + --enable-html + + This builds the HTML documentation. + + + Compile the package: -- cgit v1.2.3-54-g00ecf