summaryrefslogtreecommitdiff
path: root/etc/etc.amiga/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.amiga/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.amiga/Makefile.inc')
-rw-r--r--etc/etc.amiga/Makefile.inc11
1 files changed, 4 insertions, 7 deletions
diff --git a/etc/etc.amiga/Makefile.inc b/etc/etc.amiga/Makefile.inc
index 03d8b3a1ee0..ca3f89231ce 100644
--- a/etc/etc.amiga/Makefile.inc
+++ b/etc/etc.amiga/Makefile.inc
@@ -1,19 +1,15 @@
-# $OpenBSD: Makefile.inc,v 1.15 1999/10/08 10:52:20 espie Exp $
+# $OpenBSD: Makefile.inc,v 1.16 2002/05/13 07:22:42 espie Exp $
# etc.amiga/Makefile.inc -- amiga-specific etc Makefile targets
MACHINE_HAS_TOOLS=Yes
.ifdef DESTDIR
snap_md: distrib bsd tools
-
-bsd:
- # The GENERIC kernel is built as a side-effect of the miniroot
cp ${.CURDIR}/../sys/arch/amiga/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
-distrib:
- cd ${.CURDIR}/../distrib && \
- ${MAKE} cleandir && ${MAKE} && ${MAKE} install
+bsd:
+ # The GENERIC kernel is built as a side-effect of the miniroot
tools:
mkdir -p ${DESTDIR}/snapshot/tools
@@ -23,4 +19,5 @@ tools:
cp ${.CURDIR}/../sys/arch/amiga/stand/device-streams/obj/${I} ${DESTDIR}/snapshot/tools
.endfor
+.PHONY: bsd tools
.endif # DESTDIR check