svn commit: r314464 - head/usr.sbin/yppush
Ngie Cooper
ngie at FreeBSD.org
Wed Mar 1 04:24:26 UTC 2017
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
More information about the svn-src-head
mailing list