summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2004-03-21 23:25:11 +0000
committertom <tom@openbsd.org>2004-03-21 23:25:11 +0000
commit2a1f21901381eabeb4cef6e8d2f460afba626155 (patch)
tree4244f456bafa8e6c6d9c6febf98b3799ee323aba
parentnew .pl OpenBSD mirror, from saad (sync with rev 1.268 of www/ftp.html) (diff)
downloadwireguard-openbsd-2a1f21901381eabeb4cef6e8d2f460afba626155.tar.xz
wireguard-openbsd-2a1f21901381eabeb4cef6e8d2f460afba626155.zip
Put pxeboot into DESTDIR/snapshot
ok deraadt@
-rw-r--r--etc/etc.amd64/Makefile.inc9
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/etc.amd64/Makefile.inc b/etc/etc.amd64/Makefile.inc
index 7e2f53d5775..9edb898a2fe 100644
--- a/etc/etc.amd64/Makefile.inc
+++ b/etc/etc.amd64/Makefile.inc
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile.inc,v 1.3 2004/03/20 20:27:01 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.4 2004/03/21 23:25:11 tom Exp $
.ifdef DESTDIR
-snap_md: bsd distrib
+snap_md: bsd distrib bootblocks
cp ${.CURDIR}/../sys/arch/amd64/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
@@ -10,6 +10,9 @@ bsd:
cd ${.CURDIR}/../sys/arch/amd64/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && exec ${MAKE}
-.PHONY: bsd
+bootblocks:
+ cp ${DESTDIR}/usr/mdec/pxeboot ${DESTDIR}/snapshot
+
+.PHONY: bsd bootblocks
.endif # DESTDIR check