diff options
author | jkh <jkh@FreeBSD.org> | 1994-08-18 12:50:59 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-08-18 12:50:59 +0000 |
commit | fb01ca28fcdb06fb0eefe56ec456477bde32e52a (patch) | |
tree | 8af9af2ea7cd9c547728c645fecebb224bb4d364 | |
parent | 30a8b336ddb40708f5770efaaa0d62d363edce33 (diff) | |
download | FreeBSD-src-fb01ca28fcdb06fb0eefe56ec456477bde32e52a.zip FreeBSD-src-fb01ca28fcdb06fb0eefe56ec456477bde32e52a.tar.gz |
Don't bodge around with vi.1, just go get and copy the file.
Submitted by: jkh
-rw-r--r-- | usr.bin/vi/common/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/usr.bin/vi/common/Makefile b/usr.bin/vi/common/Makefile index 4a97d34..4751ae3 100644 --- a/usr.bin/vi/common/Makefile +++ b/usr.bin/vi/common/Makefile @@ -5,11 +5,9 @@ EX= nex VIEW= nview PROG= nvi LINKS= ${BINDIR}/${VI} ${BINDIR}/${EX} ${BINDIR}/${VI} ${BINDIR}/${VIEW} +MAN1= ${.CURDIR}/../USD.doc/vi.man/vi.1 -#CFLAGS=-g -DDEBUG -#CFLAGS+=-pg CFLAGS+=-I. -I${.CURDIR} -#LDADD+=-pg DPADD+= ${LIBCURSES} ${LIBTERM} ${LIBUTIL} LDADD+= -lcurses -ltermlib -lutil @@ -18,7 +16,7 @@ LDADD+= -lcurses -ltermlib -lutil SPECHDR=compat.h excmd.h options.h -CLEANFILES+=${SPECHDR} ${EX} vi.1 +CLEANFILES+=${SPECHDR} ${EX} # General sources. SRCS= cut.c delete.c exf.c line.c log.c main.c mark.c msg.c options.c \ @@ -54,9 +52,9 @@ SRCS+= svi_confirm.c svi_curses.c svi_ex.c svi_get.c svi_line.c \ # Athena widget set screen source. SRCS+= xaw_screen.c -all: ${VI} ${EX} vi.1 +all: ${VI} ${EX} -all: nvi nex vi.1 +all: nvi nex nex: nvi rm -f nex ln nvi nex @@ -83,10 +81,6 @@ excmd.h: excmd.h.stub excmd.c excmd.awk cat ${.CURDIR}/../ex/excmd.h.stub > excmd.h awk -f ${.CURDIR}/../ex/excmd.awk ${.CURDIR}/../ex/excmd.c >> excmd.h -vi.1: - rm -f vi.1 - ln -s ${.CURDIR}/../USD.doc/vi.man/vi.1 vi.1 - tags:: -(cd ${.CURDIR} && rm -f tags && \ ctags ../common/*.[ch] ../common/*.stub ../ex/*.[ch] ../ex/*.stub \ |