From 5698c849c650aecbae106b7d3ec7a0390bdc08e1 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Sun, 4 May 1997 20:22:15 +0000 Subject: Make this work without obj directories/links --- distrib/i386/floppies/ramdisk/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'distrib/i386/floppies/ramdisk') diff --git a/distrib/i386/floppies/ramdisk/Makefile b/distrib/i386/floppies/ramdisk/Makefile index 09c6c927b08..6ff21e76675 100644 --- a/distrib/i386/floppies/ramdisk/Makefile +++ b/distrib/i386/floppies/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 1997/05/04 03:26:24 tholo Exp $ +# $OpenBSD: Makefile,v 1.11 1997/05/04 20:22:14 tholo Exp $ # Revision is 2.1 REV= 21 @@ -65,7 +65,11 @@ bsd.gz: bsd.rd bsd.rd: ${IMAGE} bsd rdsetroot cp bsd bsd.rd +.if exists(${.CURDIR}/${__objdir}) ${.CURDIR}/${__objdir}/rdsetroot bsd.rd < ${IMAGE} +.else + ${.CURDIR}/rdsetroot bsd.rd < ${IMAGE} +.endif bsd: cd ${.CURDIR}/../../../../sys/arch/i386/conf && config RAMDISK -- cgit v1.2.3