summaryrefslogtreecommitdiff
path: root/etc/etc.vax/Makefile.inc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-05-13 07:22:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-05-13 07:22:44 +0000
commit1251f88a7ca26bd952efdfbf558e3d2de1237304 (patch)
treef333a3c24fe3da35141b51c503a3c825b73ee39d /etc/etc.vax/Makefile.inc
parent65e242d77ec6cad274c421e6a4939e128247dc70 (diff)
move common distrib rules to main Makefile,
make -> ${MAKE} add phony targets remove unnecessary subshells install kernel in a separate target from building. some SUDO. okay deraadt@ (checked bootstrap on i386, should be safe elsewhere, and trivial to fix anyways)
Diffstat (limited to 'etc/etc.vax/Makefile.inc')
-rw-r--r--etc/etc.vax/Makefile.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/etc/etc.vax/Makefile.inc b/etc/etc.vax/Makefile.inc
index d2b6160cb7d..3b157d8770d 100644
--- a/etc/etc.vax/Makefile.inc
+++ b/etc/etc.vax/Makefile.inc
@@ -1,24 +1,22 @@
-# $OpenBSD: Makefile.inc,v 1.3 2002/02/15 01:33:31 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2002/05/13 07:22:43 espie Exp $
#
# etc.vax/Makefile.inc -- vax-specific etc Makefile targets
#
.ifdef DESTDIR
snap_md: bsd bootblocks distrib
+ cp ${.CURDIR}/../sys/arch/vax/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
bsd:
cd ${.CURDIR}/../sys/arch/vax/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/vax/compile/GENERIC && \
- make clean && make depend && make
- cp ${.CURDIR}/../sys/arch/vax/compile/GENERIC/bsd \
- ${DESTDIR}/snapshot/bsd
+ ${MAKE} clean && ${MAKE} depend && exec ${MAKE}
bootblocks:
cp ${DESTDIR}/usr/mdec/boot ${DESTDIR}/snapshot
mopa.out ${DESTDIR}/usr/mdec/boot ${DESTDIR}/snapshot/boot.mop
-distrib:
- cd ${.CURDIR}/../distrib && make cleandir && \
- make && make install
+.PHONY: bsd bootblocks
.endif # DESTDIR check