summaryrefslogtreecommitdiff
path: root/libexec/ypxfr
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:28:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:28:03 +0000
commita251f9dcf891805ae2101945d0d3082ec5a1768c (patch)
tree37419308d033fde9e19ce47819f7a115a23c168e /libexec/ypxfr
parente44885ac0116d05f7380543569d5093985c92f06 (diff)
downloadsrc-test2-a251f9dcf891805ae2101945d0d3082ec5a1768c.tar.gz
src-test2-a251f9dcf891805ae2101945d0d3082ec5a1768c.zip
libexec: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314653
Diffstat (limited to 'libexec/ypxfr')
-rw-r--r--libexec/ypxfr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ypxfr/Makefile b/libexec/ypxfr/Makefile
index d1a2f573a823..c4472fb167ce 100644
--- a/libexec/ypxfr/Makefile
+++ b/libexec/ypxfr/Makefile
@@ -7,7 +7,7 @@ SRCS= yp_dblookup.c yp_dbwrite.c yp_error.c \
${GENSRCS}
GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c
-.PATH: ${.CURDIR}/../../usr.sbin/ypserv
+.PATH: ${SRCTOP}/usr.sbin/ypserv
MAN= ypxfr.8
@@ -20,7 +20,7 @@ LIBADD= rpcsvc
CLEANFILES= ${GENSRCS}
-RPCDIR= ${.CURDIR}/../../include/rpcsvc
+RPCDIR= ${SRCTOP}/include/rpcsvc
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
ypxfr_clnt.c: ${RPCDIR}/yp.x