#!/bin/sh -e # $NetBSD: build_dist,v 1.2 1997/04/18 18:05:25 cgd Exp $ SRCBASE=/usr/src TOOLSRCBASE=${SRCBASE}/toolchain XSRCBASE=${SRCBASE}/xc # XXX hack for toolchain. HLDFLAGS= export HLDFLAGS echo -n "++++++ START: "; date echo "" cd ${TOOLSRCBASE} LD_LIBRARY_PATH=`pwd`/bfd export LD_LIBRARY_PATH ./configure --enable-shared --enable-commonbfdlib echo -n "++++++ TOOL CONF: "; date make clean echo -n "++++++ TOOL CLEAN: "; date make echo -n "++++++ TOOL MAKE: "; date make install echo -n "++++++ TOOL INST: "; date LD_LIBRARY_PATH="" export LD_LIBRARY_PATH cd ${SRCBASE} make build echo -n "++++++ SRC BUILD: "; date cd ${XSRCBASE} make World echo -n "++++++ X11 WORLD: "; date make install install.man echo -n "++++++ X11 INST: "; date cd ${SRCBASE}/distrib/alpha/rz25dist DESTDIR=/mnt DESTDISK=sd1 export DESTDIR DESTDISK make echo -n "++++++ IMG MAKE: "; date cd ${TOOLSRCBASE} make distclean echo -n "++++++ TOOL DISTCLEAN: "; date cd ${SRCBASE} make cleandir echo -n "++++++ SRC CLEANDIR: "; date cd ${XSRCBASE} make clean echo -n "++++++ X11 CLEAN: "; date cd ${SRCBASE} ls -l distrib/alpha/rz25dist echo "" echo -n "++++++ END: "; date |