summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-02-25 19:52:03 +0000
committerderaadt <deraadt@openbsd.org>2008-02-25 19:52:03 +0000
commit787233bd79e499a56a4e54e6fca4d558b9fdb270 (patch)
tree2018f2d8a3754877c6d6b992792e93c7b3e47aa9
parentuninitialized variable needs zero'ing, ok kettenis (diff)
downloadwireguard-openbsd-787233bd79e499a56a4e54e6fca4d558b9fdb270.tar.xz
wireguard-openbsd-787233bd79e499a56a4e54e6fca4d558b9fdb270.zip
the floppy can be used when burned onto a CD, so ... just copy it into the
final directory, since it is small enough; tested by maja
-rw-r--r--distrib/vax/Makefile4
-rw-r--r--distrib/vax/cdfs/Makefile16
2 files changed, 18 insertions, 2 deletions
diff --git a/distrib/vax/Makefile b/distrib/vax/Makefile
index 0122a0bbb41..8ebcfc75c22 100644
--- a/distrib/vax/Makefile
+++ b/distrib/vax/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.4 2008/02/24 11:53:10 maja Exp $
+# $OpenBSD: Makefile,v 1.5 2008/02/25 19:52:03 deraadt Exp $
-SUBDIR= ../ramdisk
+SUBDIR= ../ramdisk cdfs
.if make(obj) || make(cleandir) || make(clean)
SUBDIR+= iso
diff --git a/distrib/vax/cdfs/Makefile b/distrib/vax/cdfs/Makefile
new file mode 100644
index 00000000000..fc3e7b167a4
--- /dev/null
+++ b/distrib/vax/cdfs/Makefile
@@ -0,0 +1,16 @@
+# $OpenBSD: Makefile,v 1.1 2008/02/25 19:52:05 deraadt Exp $
+
+TOP= ${.CURDIR}/..
+
+.include "${TOP}/Makefile.inc"
+
+FLOPPY= floppy${REV}.fs
+CDROM= cd${REV}.iso
+
+# The floppy image works fine as a CD image, too
+
+install:
+ cp ${DESTDIR}/snapshot/${FLOPPY} ${DESTDIR}/snapshot/${CDROM}
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>