summaryrefslogtreecommitdiffstats
path: root/usr.bin/vi/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-06-09 04:07:23 +0000
committerimp <imp@FreeBSD.org>1998-06-09 04:07:23 +0000
commit276491a1c64f083aea60c7a82138eedcef34afd5 (patch)
treea2931c6fe0437629aee5b2bf281c36e145293c31 /usr.bin/vi/Makefile
parentbfab679fddfc39a9506c7176713baa8fdf2c108c (diff)
downloadFreeBSD-src-276491a1c64f083aea60c7a82138eedcef34afd5.zip
FreeBSD-src-276491a1c64f083aea60c7a82138eedcef34afd5.tar.gz
$@ is deprecated, use ${.TARGET} instead. Ditto for other single character
$n. PR: conf/3273
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 45f9fb9..f40fb04 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
OpenPOWER on IntegriCloud