summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvctl
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 11:38:03 +0000
commit64a0982bee3db2236df43357e70ce8dddbc21d48 (patch)
tree76664a67496ac3cd9e3d5d272a5a6e430068848a /usr.sbin/rtadvctl
parentb71fb1a4aa198495970831c748fa2d132621fe3d (diff)
downloadsrc-test-64a0982bee3db2236df43357e70ce8dddbc21d48.tar.gz
src-test-64a0982bee3db2236df43357e70ce8dddbc21d48.zip
usr.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=314659
Diffstat (limited to 'usr.sbin/rtadvctl')
-rw-r--r--usr.sbin/rtadvctl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvctl/Makefile b/usr.sbin/rtadvctl/Makefile
index a66db84c42785..a8dcad1636515 100644
--- a/usr.sbin/rtadvctl/Makefile
+++ b/usr.sbin/rtadvctl/Makefile
@@ -1,13 +1,13 @@
# $FreeBSD$
#
-.PATH: ${.CURDIR}/../rtadvd
+.PATH: ${.CURDIR:H}/rtadvd
PROG= rtadvctl
MAN= rtadvctl.8
SRCS= rtadvctl.c control.c control_client.c if.c timer_subr.c
-CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../rtadvd
+CFLAGS+= -I${.CURDIR} -I${.CURDIR:H}/rtadvd
WARNS?= 1
.include <bsd.prog.mk>