freebsd-skq/usr.bin/less/Makefile.common
imp 80f626da54 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)
2017-03-12 18:58:44 +00:00

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}