Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2017 04:24:25 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314464 - head/usr.sbin/yppush
Message-ID:  <201703010424.v214OPdB018960@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Mar  1 04:24:24 2017
New Revision: 314464
URL: https://svnweb.freebsd.org/changeset/base/314464

Log:
  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

Modified:
  head/usr.sbin/yppush/Makefile

Modified: head/usr.sbin/yppush/Makefile
==============================================================================
--- head/usr.sbin/yppush/Makefile	Wed Mar  1 04:23:53 2017	(r314463)
+++ head/usr.sbin/yppush/Makefile	Wed Mar  1 04:24:24 2017	(r314464)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
-RPCDIR=	${.CURDIR}/../../include/rpcsvc
-.PATH: ${RPCDIR} ${.CURDIR}/../../usr.sbin/ypserv \
-       ${.CURDIR}/../../libexec/ypxfr
+RPCDIR=	${SRCTOP}/include/rpcsvc
+.PATH: ${RPCDIR} ${SRCTOP}/usr.sbin/ypserv ${SRCTOP}/libexec/ypxfr
 
 PROG=	yppush
 MAN=	yppush.8
@@ -10,7 +9,7 @@ SRCS=	ypxfr_getmap.c yp_dblookup.c yp_er
 	${GENSRCS}
 GENSRCS=yp.h yp_clnt.c yppush_svc.c
 
-CFLAGS+= -I. -I${.CURDIR}/../../libexec/ypxfr
+CFLAGS+= -I. -I${SRCTOP}/libexec/ypxfr
 
 WARNS?=	2
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703010424.v214OPdB018960>