get rid of the 9foo commands in favor of the 9 script

This commit is contained in:
rsc 2005-01-11 20:57:41 +00:00
parent 1c096fa40a
commit c70667367f
5 changed files with 7 additions and 4396 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,7 @@
# Calling this grep breaks a LOT. Like egrep on Linux.
# And probably configure.
TARG=9grep
TARG=grep
HFILES=\
grep.h\

View file

@ -1,6 +1,6 @@
<$PLAN9/src/mkhdr
TARG=9lex
TARG=lex
OFILES=lmain.$O\
y.tab.$O\
sub1.$O\

View file

@ -9,9 +9,9 @@ DIRS=lex `ls -l |sed -n 's/^d.* //p' |egrep -v "^($BUGGERED)$"|egrep -v '^lex$'`
<$PLAN9/src/mkdirs
dir-all dir-install: $PLAN9/bin/9yacc $PLAN9/bin/9lex
dir-all dir-install: $PLAN9/bin/yacc $PLAN9/bin/lex
bc.tab.c units.tab.c: $PLAN9/bin/9yacc
bc.tab.c units.tab.c: $PLAN9/bin/yacc
%.tab.h %.tab.c: %.y
$YACC $YFLAGS -s $stem $stem.y
@ -19,10 +19,10 @@ bc.tab.c units.tab.c: $PLAN9/bin/9yacc
%.o: %.tab.c
9c -o $target $stem.tab.c
delatex.c:D: delatex.lx $PLAN9/bin/9lex
9lex -t delatex.lx >delatex.c
delatex.c:D: delatex.lx $PLAN9/bin/lex
9 lex -t delatex.lx >delatex.c
$PLAN9/bin/9lex: $PLAN9/bin/9yacc
$PLAN9/bin/lex: $PLAN9/bin/yacc
cd lex; mk install
CLEANFILES=$CLEANFILES bc.tab.[ch] units.tab.[ch] delatex.c