view sources/control-images/lfs-bootstrap/mnt/build/gawk.sh @ 1288:c054a7a36cd9

Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
author Rob Landley <rob@landley.net>
date Wed, 17 Nov 2010 22:09:19 -0600
parents
children
line wrap: on
line source

#!/bin/sh

./configure --prefix=/usr --libexecdir=/usr/lib &&
make -j $CPUS || exit 1

if [ ! -z "$CHECK" ]
then
  make check || exit 1
fi

make install || exit 1

if [ ! -z "$DOCS" ]
then
  mkdir /usr/share/doc/gawk &&
  cp doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg /usr/share/doc/gawk
fi