ia64/xen-unstable

diff netbsd-2.0-xen-sparse/nbmake-xen @ 2512:4553261ed7cb

bitkeeper revision 1.1159.79.12 (41516f7a9MigXms0I3CfpKQvDloo8Q)

Simplify use from outside the toplevel Makefile.
author cl349@freefall.cl.cam.ac.uk
date Wed Sep 22 12:26:34 2004 +0000 (2004-09-22)
parents 309c1fb27f87
children ab0042a6d724
line diff
     1.1 --- a/netbsd-2.0-xen-sparse/nbmake-xen	Tue Sep 21 17:39:18 2004 +0000
     1.2 +++ b/netbsd-2.0-xen-sparse/nbmake-xen	Wed Sep 22 12:26:34 2004 +0000
     1.3 @@ -7,6 +7,7 @@
     1.4  : ${HARCH:=$(uname -i)}
     1.5  : ${NETBSD_RELEASE:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+\).*/\1/')}
     1.6  : ${NETBSD_VERSION:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+.*\)-xen.*/\1/')}
     1.7 +: ${TOPDIR:=$(cd $(dirname $0) && pwd | sed 's/\(netbsd-[0-9]\+\.[0-9]\+.*-xen[^/]*\)/\1/')}
     1.8  
     1.9  NETBSDSRCDIR="$TOPDIR"; export NETBSDSRCDIR
    1.10  DESTDIR="$TOPDIR/root"; export DESTDIR