summaryrefslogtreecommitdiff
path: root/etc/etc.mvme88k/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.mvme88k/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.mvme88k/Makefile.inc')
-rw-r--r--etc/etc.mvme88k/Makefile.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/etc.mvme88k/Makefile.inc b/etc/etc.mvme88k/Makefile.inc
index 6d914de157a..934b4d152cd 100644
--- a/etc/etc.mvme88k/Makefile.inc
+++ b/etc/etc.mvme88k/Makefile.inc
@@ -1,18 +1,18 @@
-# $OpenBSD: Makefile.inc,v 1.3 1999/03/03 05:47:08 smurph Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2002/05/13 07:22:43 espie Exp $
# etc.mvme88k/Makefile.inc -- mvme88k-specific etc Makefile targets
.ifdef DESTDIR
snap_md: bsd-generic bootblocks
cp ${.CURDIR}/../sys/arch/mvme88k/compile/GENERIC/bsd.gz \
${DESTDIR}/snapshot/bsd-generic.gz
+
bsd-generic:
cd ${.CURDIR}/../sys/arch/mvme88k/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/mvme88k/compile/GENERIC && \
- make clean && make depend && make && gzip -9 bsd
+ ${MAKE} clean && ${MAKE} depend && ${MAKE} && gzip -9 bsd
bootblocks:
cp ${DESTDIR}/usr/mdec/* ${DESTDIR}/snapshot/
-distrib:
- cd ${.CURDIR}/../distrib && make cleandir && \
- make && make install
+
+.PHONY: bsd-generic bootblocks
.endif # DESTDIR check