2430592ce1
similar to the zmore script that comes with gzip (and in fact, in most Linux distros, zless is a symlink to that very same zmore script) but has the advantage that you get the correct file name on the less status line, and can use :n and :p to navigate back and forth between multiple files. MFC after: 1 week
19 lines
568 B
Makefile
19 lines
568 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= less
|
|
SRCS= main.c screen.c brac.c ch.c charset.c cmdbuf.c command.c decode.c \
|
|
edit.c filename.c forwback.c help.c ifile.c input.c jump.c line.c \
|
|
linenum.c lsystem.c mark.c optfunc.c option.c opttbl.c os.c output.c \
|
|
position.c prompt.c search.c signal.c tags.c ttyin.c version.c
|
|
SCRIPTS=lesspipe.sh zless
|
|
SCRIPTSNAME_lesspipe.sh=lesspipe.sh
|
|
DPADD= ${LIBTERMCAP}
|
|
LDADD= -ltermcap
|
|
LINKS= ${BINDIR}/less ${BINDIR}/more \
|
|
${BINDIR}/zless ${BINDIR}/bzless
|
|
MLINKS= less.1 more.1
|
|
CLEANFILES= less.1
|
|
|
|
.include "Makefile.common"
|
|
.include <bsd.prog.mk>
|