diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-03-12 18:58:44 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-03-12 18:58:44 +0000 |
commit | a35f04fba2ebb8f86d4cbdc710c89a094572b08e (patch) | |
tree | 6d7834512c1ccea38c53d829131105485c884751 /usr.bin/lex | |
parent | e3f87f6c705552b9aaf2cc10ec687f330c0ebe6a (diff) | |
download | src-test-a35f04fba2ebb8f86d4cbdc710c89a094572b08e.tar.gz src-test-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')
-rw-r--r-- | usr.bin/lex/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/lex/lib/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile index faa503a1ec8af..86784c16f1b9a 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} diff --git a/usr.bin/lex/lib/Makefile b/usr.bin/lex/lib/Makefile index 4c28593aada9f..0bca11f2113e9 100644 --- a/usr.bin/lex/lib/Makefile +++ b/usr.bin/lex/lib/Makefile @@ -2,7 +2,7 @@ .include <src.opts.mk> -.PATH: ${.CURDIR}/../../../contrib/flex +.PATH: ${SRCTOP}/contrib/flex LIB= ln SRCS= libmain.c libyywrap.c |