Fixed some style bugs. Apart from formatting bugs, MANDEPEND is deprecated

and $< and $@ are even documented as deprecated.
This commit is contained in:
Bruce Evans 2000-06-03 11:39:38 +00:00
parent 61b9b2965c
commit 81ae6b6341
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61216
4 changed files with 6 additions and 25 deletions

View File

@ -1,5 +1,3 @@
# Makefile for less
#
# $FreeBSD$
PROG= less
@ -9,14 +7,9 @@ SRCS= main.c screen.c brac.c ch.c charset.c cmdbuf.c command.c decode.c \
position.c prompt.c search.c signal.c tags.c ttyin.c version.c
DPADD= ${LIBNCURSES}
LDADD= -lncurses
LINKS= ${BINDIR}/less /usr/bin/more
MAN1= less.1
MANDEPEND= less.1
CLEANFILES+= ${MANDEPEND}
MLINKS= less.1 more.1
MLINKS= less.1 more.1
CLEANFILES= ${MAN1}
.include "Makefile.common"
.include <bsd.prog.mk>

View File

@ -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}

View File

@ -1,10 +1,7 @@
# Makefile for lessecho
#
# $FreeBSD$
PROG= lessecho
SRCS= lessecho.c version.c
NOMAN=
.include "${.CURDIR}/../less/Makefile.common"

View File

@ -1,13 +1,8 @@
# Makefile for lesskey
#
# $FreeBSD$
PROG= lesskey
SRCS= lesskey.c version.c
MAN1= lesskey.1
MANDEPEND= lesskey.1
CLEANFILES+= ${MANDEPEND}
CLEANFILES= ${MAN1}
.include "${.CURDIR}/../less/Makefile.common"
.include <bsd.prog.mk>