summaryrefslogtreecommitdiff
path: root/etc/etc.i386
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.i386
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.i386')
-rw-r--r--etc/etc.i386/Makefile.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/etc/etc.i386/Makefile.inc b/etc/etc.i386/Makefile.inc
index d10d00d8e38..6b773b72ee8 100644
--- a/etc/etc.i386/Makefile.inc
+++ b/etc/etc.i386/Makefile.inc
@@ -1,21 +1,19 @@
-# $OpenBSD: Makefile.inc,v 1.10 1997/09/26 19:51:28 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.11 2002/05/13 07:22:42 espie Exp $
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
.ifdef DESTDIR
snap_md: bsd notes distrib
+ cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
bsd:
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/i386/compile/GENERIC && \
- make clean && make depend && make
- cp ${.CURDIR}/../sys/arch/i386/compile/GENERIC/bsd \
- ${DESTDIR}/snapshot/bsd
+ ${MAKE} clean && ${MAKE} depend && exec ${MAKE}
notes:
cp ${.CURDIR}/etc.i386/INSTALL.* ${DESTDIR}/snapshot
-distrib:
- cd ${.CURDIR}/../distrib && make cleandir && \
- make && make install
+.PHONY: bsd notes
.endif # DESTDIR check