summaryrefslogtreecommitdiffstats
path: root/sbin/mksnap_ffs/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-05-30 04:17:22 +0000
committerngie <ngie@FreeBSD.org>2017-05-30 04:17:22 +0000
commit3d65b38935322eeafe1144f25e11a24abbede0cd (patch)
treeae85ec397f2e7c39107c20ab37b968745d99dda0 /sbin/mksnap_ffs/Makefile
parent2a14abb0b39bdf34ad6ee24df9983b7936459841 (diff)
downloadFreeBSD-src-3d65b38935322eeafe1144f25e11a24abbede0cd.zip
FreeBSD-src-3d65b38935322eeafe1144f25e11a24abbede0cd.tar.gz
MFC r314655:
bin: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output
Diffstat (limited to 'sbin/mksnap_ffs/Makefile')
-rw-r--r--sbin/mksnap_ffs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mksnap_ffs/Makefile b/sbin/mksnap_ffs/Makefile
index 33040ec..a79ae2f 100644
--- a/sbin/mksnap_ffs/Makefile
+++ b/sbin/mksnap_ffs/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../mount
+.PATH: ${.CURDIR:H}/mount
PACKAGE=runtime
PROG= mksnap_ffs
@@ -8,7 +8,7 @@ SRCS= mksnap_ffs.c getmntopts.c
MAN= mksnap_ffs.8
WARNS?= 2
-CFLAGS+=-I${.CURDIR}/../mount
+CFLAGS+=-I${.CURDIR:H}/mount
.if defined(NOSUID)
BINMODE=554
OpenPOWER on IntegriCloud