aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_nfs/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:33:01 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:33:01 +0000
commit22289a8c3d45efcf5671750a0ceffb1296455bab (patch)
tree94fe5f475bf0dead0e972df66b3e4cad0afd6746 /sbin/mount_nfs/Makefile
parentcaf42d812634461f3196797f55f320c03c49b019 (diff)
downloadsrc-22289a8c3d45efcf5671750a0ceffb1296455bab.tar.gz
src-22289a8c3d45efcf5671750a0ceffb1296455bab.zip
sbin: 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=314656
Diffstat (limited to 'sbin/mount_nfs/Makefile')
-rw-r--r--sbin/mount_nfs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_nfs/Makefile b/sbin/mount_nfs/Makefile
index 76c2bfb55ce5..a896edef898f 100644
--- a/sbin/mount_nfs/Makefile
+++ b/sbin/mount_nfs/Makefile
@@ -7,8 +7,8 @@ PROG= mount_nfs
SRCS= mount_nfs.c getmntopts.c mounttab.c
MAN= mount_nfs.8
-MOUNT= ${.CURDIR}/../mount
-UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
+MOUNT= ${.CURDIR:H}/mount
+UMNTALL= ${SRCTOP}/usr.sbin/rpc.umntall
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
.PATH: ${MOUNT} ${UMNTALL}