aboutsummaryrefslogtreecommitdiff
path: root/sbin/gvinum
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/gvinum
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/gvinum')
-rw-r--r--sbin/gvinum/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/gvinum/Makefile b/sbin/gvinum/Makefile
index 5bb40eacf72e..85e2def79248 100644
--- a/sbin/gvinum/Makefile
+++ b/sbin/gvinum/Makefile
@@ -6,10 +6,10 @@ SRCS= gvinum.c gvinum.h geom_vinum_share.c
MAN= gvinum.8
WARNS?= 2
-CFLAGS+= -I${.CURDIR}/../../sys -I${DESTDIR}/${INCLUDEDIR}/edit
+CFLAGS+= -I${SRCTOP}/sys -I${DESTDIR}/${INCLUDEDIR}/edit
LIBADD= edit geom
-.PATH: ${.CURDIR}/../../sys/geom/vinum
+.PATH: ${SRCTOP}/sys/geom/vinum
.include <bsd.prog.mk>