From: tholo Date: Sun, 4 May 1997 20:22:14 +0000 (+0000) Subject: Make this work without obj directories/links X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5eabc02bf3a85a82c5e970be29608d73975a95f8;p=openbsd Make this work without obj directories/links --- 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