-# $OpenBSD: Makefile,v 1.8 1997/05/03 07:50:14 tholo Exp $
+# $OpenBSD: Makefile,v 1.9 1997/05/03 07:56:44 tholo Exp $
# Revision is 2.1
-REV= 21
+REV= 21
TOP= ${.CURDIR}/..
VND_RDEV= /dev/r${VND}a
VND_CRDEV= /dev/r${VND}c
PID!= echo $$$$
-REALIMAGE!= echo /var/tmp/image.${PID}
+REALIMAGE!= echo /tmp/image.${PID}
LISTFLOPPY= ${.CURDIR}/list_floppy
.include "Makefile.inc"
cp bsd bsd.rd
${.CURDIR}/${__objdir}/rdsetroot bsd.rd < ${IMAGE}
-bsd: ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK/bsd
+bsd:
+ cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK
+ cd ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK && \
+ make clean && make depend && make
cp ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK/bsd bsd
-# cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK
-# cd ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK && \
-# make clean && make depend && make
-# cp ${.CURDIR}/../../../../sys/arch/i386/compile/RAMDISK/bsd bsd
-
${IMAGE}: ${CBIN} rd_setup do_files rd_teardown
rd_setup: ${CBIN}