From 7b8810a816f6ee7bf5dc23dc11b302df0c29e613 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 1 Mar 2017 04:24:56 +0000 Subject: [PATCH] Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon --- usr.sbin/ypserv/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.sbin/ypserv/Makefile b/usr.sbin/ypserv/Makefile index db589effb49..c229c4a34d8 100644 --- a/usr.sbin/ypserv/Makefile +++ b/usr.sbin/ypserv/Makefile @@ -2,9 +2,8 @@ .include -RPCDIR= ${.CURDIR}/../../include/rpcsvc -.PATH: ${RPCDIR} \ - ${.CURDIR}/common +RPCDIR= ${SRCTOP}/include/rpcsvc +.PATH: ${RPCDIR} ${.CURDIR}/common PROG= ypserv MAN= ypserv.8 ypinit.8