diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-05-13 07:22:44 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-05-13 07:22:44 +0000 |
commit | 1251f88a7ca26bd952efdfbf558e3d2de1237304 (patch) | |
tree | f333a3c24fe3da35141b51c503a3c825b73ee39d /etc/etc.sun3/Makefile.inc | |
parent | 65e242d77ec6cad274c421e6a4939e128247dc70 (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.sun3/Makefile.inc')
-rw-r--r-- | etc/etc.sun3/Makefile.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/etc/etc.sun3/Makefile.inc b/etc/etc.sun3/Makefile.inc index b061d9460e6..3c5ef5a9c72 100644 --- a/etc/etc.sun3/Makefile.inc +++ b/etc/etc.sun3/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.4 2000/06/19 01:49:30 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.5 2002/05/13 07:22:43 espie Exp $ # etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets .ifdef DESTDIR @@ -9,13 +9,11 @@ snap_md: bsd bootblocks distrib bsd: cd ${.CURDIR}/../sys/arch/sun3/conf && config GENERIC cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && \ - make clean && make depend && make + ${MAKE} clean && ${MAKE} depend && exec ${MAKE} bootblocks: cp ${DESTDIR}/usr/mdec/*boot* ${DESTDIR}/snapshot -distrib: - cd ${.CURDIR}/../distrib && make cleandir && \ - make && make install +.PHONY: bsd bootblocks .endif # DESTDIR check |