Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/lex Find files via .PATH where appropriate.



details:   https://anonhg.NetBSD.org/src/rev/b905a142d7f5
branches:  trunk
changeset: 517419:b905a142d7f5
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Nov 12 19:32:08 2001 +0000

description:
Find files via .PATH where appropriate.

diffstat:

 usr.bin/lex/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 39d7ea967589 -r b905a142d7f5 usr.bin/lex/Makefile
--- a/usr.bin/lex/Makefile      Mon Nov 12 19:08:31 2001 +0000
+++ b/usr.bin/lex/Makefile      Mon Nov 12 19:32:08 2001 +0000
@@ -1,5 +1,5 @@
 #      from: @(#)Makefile      5.4 (Berkeley) 6/24/90
-#      $NetBSD: Makefile,v 1.22 2001/09/22 05:39:22 tv Exp $
+#      $NetBSD: Makefile,v 1.23 2001/11/12 19:32:08 tv Exp $
 #
 # By default, flex will be configured to generate 8-bit scanners only if the
 # -8 flag is given.  If you want it to always generate 8-bit scanners, add
@@ -30,12 +30,12 @@
        ${BINDIR}/lex ${BINDIR}/flex++
 MLINKS=        flex.1 lex.1 
 
-skel.c:        flex.skl mkskel.sh
-       sh ${.CURDIR}/mkskel.sh ${.CURDIR}/flex.skl > skel.c
+skel.c:        mkskel.sh flex.skl
+       sh ${.ALLSRC} >${.TARGET}
 
 .ifndef HOSTPROG
 scan.c: scan.l
-       ${LEX} -t -p ${.CURDIR}/scan.l > scan.c
+       ${LEX} -t -p ${.ALLSRC} >${.TARGET}
 .endif
 
 scan.o yylex.o: parse.h



Home | Main Index | Thread Index | Old Index