view images/lfs-bootstrap/mnt/build/sed.sh @ 0:bcd2e358d57f

Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
author Rob Landley <rob@landley.net>
date Sun, 03 Jul 2011 17:23:26 -0500
parents
children
line wrap: on
line source

#!/bin/sh

./configure --prefix=/usr --bindir=/bin --htmldir=/usr/share/doc/sed &&
make -j $CPUS || exit 1

if [ ! -z "$DOCS" ]
then
  make html &&
  make -C doc install-html || exit 1
fi

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

make install