# $NetBSD: Makefile,v 1.2 2002/03/06 12:29:57 lukem Exp $ # # Create TK50 files and tapes. TAPEDEV=mt8 .include "../Makefile.inc" all: cp ../inst/bootroot-${DISTRIBREV}.fs tk50-file1-${DISTRIBREV} cp ../inst/miniroot-${DISTRIBREV}.fs tk50-file2-${DISTRIBREV} tape: .if !defined(DESTDIR) @echo 'DESTDIR' must be defined \(will make distribution\). @false .else mt -f /dev/r${TAPEDEV} rewind dd if=tk50-file1-${DISTRIBREV} of=/dev/nr${TAPEDEV} bs=512 dd if=tk50-file2-${DISTRIBREV} of=/dev/nr${TAPEDEV} bs=512 dd if=${DESTDIR}/snapshot/bin.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/dev.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/etc.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/sbin.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.bin.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.games.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.include.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.lib.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.libexec.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.misc.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.sbin.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/usr.share.tar.gz of=/dev/nr${TAPEDEV} bs=64k dd if=${DESTDIR}/snapshot/var.tar.gz of=/dev/nr${TAPEDEV} bs=64k mt -f /dev/r${TAPEDEV} rewind @echo Distribution tape is ready. .endif .include <bsd.obj.mk> .include <bsd.subdir.mk> |