summaryrefslogtreecommitdiff
path: root/distrib/vax/tk50/Makefile
blob: c56af1ddf52abe0aee322ee7aff2efbfc90e7c7f (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
32
33
34
35
36
37
38
39
40
#	$NetBSD: Makefile,v 1.1 1995/10/01 21:22:45 ragge Exp $
#
#	Create TK50 files and tapes.

TAPEDEV=mt8

.include "../Makefile.inc"

all:
	cp ../inst/bootroot-${REV}.fs tk50-file1-${REV}
	cp ../inst/miniroot-${REV}.fs tk50-file2-${REV}

tape:
.if !defined(DESTDIR)
	@echo 'DESTDIR' must be defined \(will make distribution\).
	@false

.else
	mt -f /dev/r${TAPEDEV} rewind
	dd if=tk50-file1-${REV} of=/dev/nr${TAPEDEV} bs=512
	dd if=tk50-file2-${REV} 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>