aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/chkprintcap/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-01 05:14:45 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-01 05:14:45 +0000
commit7fec199b3bec905dc9c6e260a3295c7c3c840f76 (patch)
tree74dd1bf34becf6a4bb32ab24c0a3860cb3b9ce4b /usr.sbin/lpr/chkprintcap/Makefile
parenta21018063b5e1a82745b9af284466b06528847f2 (diff)
downloadsrc-7fec199b3bec905dc9c6e260a3295c7c3c840f76.tar.gz
src-7fec199b3bec905dc9c6e260a3295c7c3c840f76.zip
Simplify idioms in usr.sbin/lpr Makefiles
Use :H instead of .CURDIR-relative pathing to simplify make output, etc. MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314475
Diffstat (limited to 'usr.sbin/lpr/chkprintcap/Makefile')
-rw-r--r--usr.sbin/lpr/chkprintcap/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/lpr/chkprintcap/Makefile b/usr.sbin/lpr/chkprintcap/Makefile
index aa08882b1076..c8378dc97a41 100644
--- a/usr.sbin/lpr/chkprintcap/Makefile
+++ b/usr.sbin/lpr/chkprintcap/Makefile
@@ -1,12 +1,12 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../common_source
+.PATH: ${.CURDIR:H}/common_source
PROG= chkprintcap
MAN= chkprintcap.8
SRCS= chkprintcap.c skimprintcap.c
-CFLAGS+= -I${.CURDIR}/../common_source
+CFLAGS+= -I${.CURDIR:H}/common_source
LIBADD= lpr