diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-15 21:38:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-15 21:38:04 +0000 |
commit | 21bc43b2cdb3f46684afb55099837ebc9ffdcb08 (patch) | |
tree | 87513e88f94ff4c54cfdacd9546858a8a2192260 /distrib/i386/cdfs-emu | |
parent | 0951c1365ea6fa493d6700b51f12c6b11ac37062 (diff) |
and install it
Diffstat (limited to 'distrib/i386/cdfs-emu')
-rw-r--r-- | distrib/i386/cdfs-emu/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/distrib/i386/cdfs-emu/Makefile b/distrib/i386/cdfs-emu/Makefile new file mode 100644 index 00000000000..80c47900b28 --- /dev/null +++ b/distrib/i386/cdfs-emu/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1 2004/08/15 21:38:03 deraadt Exp $ + +TOP= ${.CURDIR}/.. + +.include "${TOP}/Makefile.inc" + +CDFS= cdrom${REV}.fs +CDROM= cdemu${REV}.iso + +all: ${CDROM} + +${CDROM}: + -rm -rf ${.OBJDIR}/cd-dir + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/i386 + cp ${.OBJDIR}/../ramdisk_cd/${CDFS} ${.OBJDIR}/cd-dir/${OSREV}/i386 + mkhybrid -a -R -T -L -d -D -N -o ${.OBJDIR}/${CDROM} -v -v \ + -A "OpenBSD ${OSREV} i386 bootonly CD" \ + -P "Copyright (c) 2004 Theo de Raadt, The OpenBSD project" \ + -p "Theo de Raadt <deraadt@openbsd.org>" \ + -V "OpenBSD/i386 ${OSREV} boot-only CD" \ + -b ${OSREV}/i386/${CDFS} -c ${OSREV}/i386/boot.catalog \ + ${.OBJDIR}/cd-dir + +install: + cp ${CDROM} ${DESTDIR}/snapshot + +clean cleandir: + /bin/rm -f ${CDROM} + rm -rf cd-dir + +.include <bsd.obj.mk> +.include <bsd.subdir.mk> |