From 521853db1d7e14218307c3d5a93fc2a21d4f807b Mon Sep 17 00:00:00 2001 From: lukem Date: Wed, 6 Mar 2002 22:36:58 +0000 Subject: [PATCH] simply VERDEP calculation by using ${_SRC_TOP_} --- distrib/utils/sysinst/Makefile.inc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/distrib/utils/sysinst/Makefile.inc b/distrib/utils/sysinst/Makefile.inc index 39ecd5c11693..69891bbf47e0 100644 --- a/distrib/utils/sysinst/Makefile.inc +++ b/distrib/utils/sysinst/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.12 2001/12/24 00:47:42 atatat Exp $ +# $NetBSD: Makefile.inc,v 1.13 2002/03/06 22:36:58 lukem Exp $ # # Makefile for install @@ -10,15 +10,8 @@ NOMAN= # defined LDADD= -lcurses -ltermcap -lutil LDSTATIC?= -static -.if exists(${.CURDIR}/../../../../sys/conf/osrelease.sh) -VERDEP= ${.CURDIR}/../../../../sys/conf/osrelease.sh +VERDEP= ${_SRC_TOP_}/sys/conf/osrelease.sh VER!= sh ${VERDEP} -.endif - -.if exists(${.CURDIR}/../../../../../sys/conf/osrelease.sh) -VERDEP= ${.CURDIR}/../../../../../sys/conf/osrelease.sh -VER!= sh ${VERDEP} -.endif CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.CURDIR} \ -DREL=\"${VER}\" -DMACH=\"${MACHINE}\"