aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vi/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1998-06-09 04:07:23 +0000
committerWarner Losh <imp@FreeBSD.org>1998-06-09 04:07:23 +0000
commit205a8ea824a04474bbfb000018904cd856cee4f3 (patch)
tree5107eecbeecf4fe1c1fb58abf4a752ac89546de6 /usr.bin/vi/Makefile
parent8a20f85ccba720c80633064e4c2ad4d30904126b (diff)
downloadsrc-205a8ea824a04474bbfb000018904cd856cee4f3.tar.gz
src-205a8ea824a04474bbfb000018904cd856cee4f3.zip
$@ is deprecated, use ${.TARGET} instead. Ditto for other single character
$n. PR: conf/3273
Notes
Notes: svn path=/head/; revision=36786
Diffstat (limited to 'usr.bin/vi/Makefile')
-rw-r--r--usr.bin/vi/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/Makefile b/usr.bin/vi/Makefile
index 45f9fb9a587e..f40fb04ee51e 100644
--- a/usr.bin/vi/Makefile
+++ b/usr.bin/vi/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.20 1997/08/19 01:52:11 asami Exp $
+# $Id: Makefile,v 1.21 1997/09/22 23:14:37 wosch Exp $
#
# This has most of the glue needed to compile tknvi and the perl hooks,
# but not all.
@@ -147,9 +147,9 @@ SRCS+= vs_line.c vs_msg.c vs_refresh.c vs_relative.c vs_smap.c vs_split.c
# Generate perl.c
.if defined(PERLINTERP)
perl.c: perl.xs typemap
- echo "#define _PATH_PERLSCRIPTS \"/usr/share/vi/perl\"" > $@
+ echo "#define _PATH_PERLSCRIPTS \"/usr/share/vi/perl\"" > ${.TARGET}
$(PERL) $(PERLLIB)/ExtUtils/xsubpp -typemap \
- $(PERLLIB)/ExtUtils/typemap $(SRCDIR)/perl_api/perl.xs >> $@
+ $(PERLLIB)/ExtUtils/typemap $(SRCDIR)/perl_api/perl.xs >> ${.TARGET}
($(PERL) -ne 'print "sub $$1 {\$$curscr->$$1(\@_)}\n" \
if /newXS\("VI::([^":]*)"/;' $@ ; echo "1;") > VI.pm