a35f04fba2
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)
13 lines
172 B
Makefile
13 lines
172 B
Makefile
# $FreeBSD$
|
|
|
|
LSDIR= ${SRCTOP}/contrib/less
|
|
.PATH: ${LSDIR}
|
|
|
|
CFLAGS+=-I${SRCTOP}/usr.bin/less -I${LSDIR}
|
|
WARNS?= 1
|
|
|
|
.SUFFIXES: .nro .1
|
|
|
|
.nro.1:
|
|
cat ${.IMPSRC} > ${.TARGET}
|