blob: b925cea4628268d9b4ebab9163cdf28c5628ec62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $OpenBSD: Makefile,v 1.7 2003/03/04 20:24:49 deraadt Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
CDROM= cd${REV}.iso
all: ${CDROM}
${CDROM}:
-rm -rf ${.OBJDIR}/cd-dir
-@mkdir ${.OBJDIR}/cd-dir
mkhybrid -A "OpenBSD ${OSREV} sparc64 bootonly CD" \
-P "Copyright (c) 2003 Theo de Raadt, The OpenBSD project" \
-p "Theo de Raadt <deraadt@openbsd.org>" \
-V "OpenBSD/sparc64 ${OSREV} boot-only CD" \
-o ${.OBJDIR}/${CDROM} ${.OBJDIR}/cd-dir
vnconfig -v -c svnd0 ${.OBJDIR}/${CDROM}
disklabel -w svnd0 fakecdrom "OpenBSD${OSREV} sparc64"
vnconfig -u svnd0
mksuncd f ${.OBJDIR}/${CDROM} ${.OBJDIR}/../miniroot/miniroot${REV}.fs
install:
cp ${CDROM} ${DESTDIR}/snapshot
clean cleandir:
/bin/rm -f ${CDROM}
.include <bsd.obj.mk>
.include <bsd.subdir.mk>
|