diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-03-04 11:38:03 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-03-04 11:38:03 +0000 |
commit | 64a0982bee3db2236df43357e70ce8dddbc21d48 (patch) | |
tree | 76664a67496ac3cd9e3d5d272a5a6e430068848a /usr.sbin/cron | |
parent | b71fb1a4aa198495970831c748fa2d132621fe3d (diff) |
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/cron')
-rw-r--r-- | usr.sbin/cron/crontab/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/cron/lib/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile index 9f4311253ac8..7b780edc80e3 100644 --- a/usr.sbin/cron/crontab/Makefile +++ b/usr.sbin/cron/crontab/Makefile @@ -10,7 +10,7 @@ PRECIOUSPROG= WARNS?= 3 -CFLAGS+= -I${.CURDIR}/../cron +CFLAGS+= -I${.CURDIR:H}/cron LIBADD= cron md util diff --git a/usr.sbin/cron/lib/Makefile b/usr.sbin/cron/lib/Makefile index 51316c17ebf1..d8203c5a4df7 100644 --- a/usr.sbin/cron/lib/Makefile +++ b/usr.sbin/cron/lib/Makefile @@ -6,7 +6,7 @@ SRCS= entry.c env.c misc.c WARNS?= 3 -CFLAGS+= -I${.CURDIR}/../cron +CFLAGS+= -I${.CURDIR:H}/cron CFLAGS+= -DLOGIN_CAP -DPAM .include <bsd.lib.mk> |