diff options
author | gene <gene@cvs.openbsd.org> | 1998-02-16 02:04:40 +0000 |
---|---|---|
committer | gene <gene@cvs.openbsd.org> | 1998-02-16 02:04:40 +0000 |
commit | 401e6c3935f5abbcff2c90a66b58dab8f55504c5 (patch) | |
tree | f9c1fc6b47cfc0b7437a3ff1183e40f90a755487 /etc/etc.mac68k/Makefile.inc | |
parent | 7333264511f8624b37c362a214943cb0c4e8dbab (diff) |
Explicitly chdir when building snapshot kernels and their associated
tarballs. In a related effort, do everything that has a different chdir
root (ie, config && make depend etc) in a subshell.
Thanks to Hans for the initial prompting on this.
Diffstat (limited to 'etc/etc.mac68k/Makefile.inc')
-rw-r--r-- | etc/etc.mac68k/Makefile.inc | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/etc/etc.mac68k/Makefile.inc b/etc/etc.mac68k/Makefile.inc index 44badf5eee9..1d7ff087929 100644 --- a/etc/etc.mac68k/Makefile.inc +++ b/etc/etc.mac68k/Makefile.inc @@ -1,19 +1,21 @@ -# $OpenBSD: Makefile.inc,v 1.4 1997/10/06 20:10:52 gene Exp $ +# $OpenBSD: Makefile.inc,v 1.5 1998/02/16 02:04:39 gene Exp $ # etc.mac68k/Makefile.inc -- mac68k-specific etc Makefile targets .ifdef DESTDIR snap_md: bsd-generic bsd-genericsbc - tar cf - ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC/bsd \ - | ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-generic.tar${GZIPEXT} - tar cf - ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC/bsd \ - | ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-genericsbc.tar${GZIPEXT} + (cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC; + tar cf - bsd \ + | ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-generic.tar${GZIPEXT}) + (cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC; + tar cf - bsd \ + | ${GZIP} ${GZIPFLAGS} >${DESTDIR}/snapshot/bsd-genericsbc.tar${GZIPEXT}) bsd-generic: - cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERIC - cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC && \ - make clean && make depend && make + (cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERIC) + (cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERIC && \ + make clean && make depend && make) bsd-genericsbc: - cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERICSBC - cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC && \ - make clean && make depend && make + (cd ${.CURDIR}/../sys/arch/mac68k/conf && config GENERICSBC) + (cd ${.CURDIR}/../sys/arch/mac68k/compile/GENERICSBC && \ + make clean && make depend && make) .endif # DESTDIR check |