aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/lex/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
committerWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
commita35f04fba2ebb8f86d4cbdc710c89a094572b08e (patch)
tree6d7834512c1ccea38c53d829131105485c884751 /usr.bin/lex/Makefile
parente3f87f6c705552b9aaf2cc10ec687f330c0ebe6a (diff)
downloadsrc-a35f04fba2ebb8f86d4cbdc710c89a094572b08e.tar.gz
src-a35f04fba2ebb8f86d4cbdc710c89a094572b08e.zip
Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice)
Notes
Notes: svn path=/head/; revision=315170
Diffstat (limited to 'usr.bin/lex/Makefile')
-rw-r--r--usr.bin/lex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile
index faa503a1ec8a..86784c16f1b9 100644
--- a/usr.bin/lex/Makefile
+++ b/usr.bin/lex/Makefile
@@ -14,7 +14,7 @@ LINKS+= ${BINDIR}/lex ${BINDIR}/lex++
LINKS+= ${BINDIR}/lex ${BINDIR}/flex
LINKS+= ${BINDIR}/lex ${BINDIR}/flex++
-FLEXDIR= ${.CURDIR}/../../contrib/flex
+FLEXDIR= ${SRCTOP}/contrib/flex
.PATH: ${FLEXDIR}