From 177aee0f061bfceafa797ec433925146bff6b431 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 17 Feb 2014 04:59:10 +0000 Subject: Delete unneded symlinks in /usr; add /usr/libexec. Use better workarund for automake tests. Minor spacing issues. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10476 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/automake.xml | 7 ++----- chapter06/creatingdirs.xml | 4 +--- chapter06/flex.xml | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) (limited to 'chapter06') diff --git a/chapter06/automake.xml b/chapter06/automake.xml index e4c862f4e..d02700a27 100644 --- a/chapter06/automake.xml +++ b/chapter06/automake.xml @@ -55,11 +55,8 @@ systems with only one processor due to internal delays in individual tests. To test the results, issue: -mv -v /usr/lib/libfl.{so,save} -ln -sv libfl.a /usr/lib/libfl.so -make -j4 check -rm -v /usr/lib/libfl.so -mv -v /usr/lib/libfl.{save,so} +sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh +make -j4 check Install the package: diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 9a3713ebf..5443326a9 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -20,10 +20,8 @@ install -dv -m 1777 /tmp /var/tmp mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src} mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man} mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo} +mkdir -v /usr/libexec mkdir -pv /usr/{,local/}share/man/man{1..8} -for dir in /usr /usr/local; do - ln -sv share/{man,doc,info} $dir -done case $(uname -m) in x86_64) ln -sv lib /lib64 && ln -sv lib /usr/lib64 && ln -sv lib /usr/local/lib64 ;; esac diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 45364de3f..6b4d42363 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -47,7 +47,7 @@ Prepare Flex for compilation: -./configure --prefix=/usr \ +./configure --prefix=/usr \ --docdir=/usr/share/doc/flex-&flex-version; Compile the package: -- cgit v1.2.3-54-g00ecf