2001-03-04 23:33:03 +03:00
|
|
|
# $NetBSD: Makefile,v 1.8 2001/03/04 20:33:03 matt Exp $
|
2000-06-01 01:51:27 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk> # Use /etc/mk.conf.
|
|
|
|
|
|
|
|
ITARGET= ${RELEASEDIR}/installation
|
|
|
|
IINST= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
|
|
|
|
-o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
|
1995-10-02 00:22:13 +03:00
|
|
|
|
2001-03-04 23:33:03 +03:00
|
|
|
SUBDIR= ramdisk ramdisk-kernel floppy #inst tk50 rx50 rx33
|
1995-10-02 00:22:13 +03:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
2000-06-01 01:51:27 +04:00
|
|
|
|
|
|
|
.ifndef RELEASEDIR
|
|
|
|
release:
|
|
|
|
@echo setenv RELEASEDIR first
|
|
|
|
@false
|
|
|
|
.else
|
2001-03-04 23:33:03 +03:00
|
|
|
INSTKERNOBJ != cd ${.CURDIR}/ramdisk-kernel && ${PRINTOBJDIR}
|
|
|
|
FLOPPYOBJ != cd ${.CURDIR}/floppy && ${PRINTOBJDIR}
|
2000-06-01 01:51:27 +04:00
|
|
|
|
|
|
|
release:
|
2001-03-04 23:33:03 +03:00
|
|
|
${IINST} ${DESTDIR}/usr/mdec/boot.mop ${ITARGET}/netboot/
|
2000-06-01 01:51:27 +04:00
|
|
|
${IINST} ${INSTKERNOBJ}/netbsd.INSTALL.gz ${ITARGET}/netboot/netbsd.ram.gz
|
2001-03-04 23:33:03 +03:00
|
|
|
${IINST} ${FLOPPYOBJ}/boot.fs ${ITARGET}/bootfs/
|
2000-06-01 01:51:27 +04:00
|
|
|
.endif
|