Don't bodge around with vi.1, just go get and copy the file.

Submitted by:	jkh
This commit is contained in:
Jordan K. Hubbard 1994-08-18 12:50:59 +00:00
parent dbc3117819
commit 709895c923
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2108

View File

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