summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/Makefile.common
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-06-03 11:39:38 +0000
committerbde <bde@FreeBSD.org>2000-06-03 11:39:38 +0000
commit6f14949a1b1e7e00c0128aff1c07997c95a449cc (patch)
treed7ddde3fedb2972fc39494d6c95d7faa6cb798ee /usr.bin/less/Makefile.common
parented0e424f9ce8986c95a337db8d5ec8c35311bd54 (diff)
downloadFreeBSD-src-6f14949a1b1e7e00c0128aff1c07997c95a449cc.zip
FreeBSD-src-6f14949a1b1e7e00c0128aff1c07997c95a449cc.tar.gz
Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated
and $< and $@ are even documented as deprecated.
Diffstat (limited to 'usr.bin/less/Makefile.common')
-rw-r--r--usr.bin/less/Makefile.common10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/less/Makefile.common b/usr.bin/less/Makefile.common
index becb0e6..6b3b62b 100644
--- a/usr.bin/less/Makefile.common
+++ b/usr.bin/less/Makefile.common
@@ -1,15 +1,11 @@
-# Makefile.common for less
-#
# $FreeBSD$
LSDIR= ${.CURDIR}/../../contrib/less
.PATH: ${LSDIR}
-CFLAGS+=-I. -I${.CURDIR}/../less -I${LSDIR}
+CFLAGS+=-I${.CURDIR}/../less -I${LSDIR}
-.SUFFIXES: .nro .1
+.SUFFIXES: .nro .1
.nro.1:
- @${ECHO} Making $@ from $<
- @-rm -f $@
- @cp $< $@
+ ln -s ${.IMPSRC} ${.TARGET}
OpenPOWER on IntegriCloud