mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
mkfiles: check for test/mkfile when recursing
Some programs have test directories without a test mkfile; this causes spurious errors. Discriminate more carefully.
This commit is contained in:
parent
bf398d28c3
commit
ace81cb1ae
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ clean:V:
|
|||
man:V: $MANFILES
|
||||
|
||||
test:VQ: $PROGS
|
||||
if(test -d ./test)
|
||||
if(test -f ./test/mkfile)
|
||||
cd test && mk $MKFLAGS test
|
||||
if not
|
||||
status=()
|
||||
|
|
|
@ -63,7 +63,7 @@ $MAN/%: %.man
|
|||
man:V: $MAN/$TARG
|
||||
|
||||
test:QV: $O.out $TESTDEP
|
||||
if(test -d ./test){
|
||||
if(test -f ./test/mkfile){
|
||||
pwd
|
||||
@{cd ./test && mk $MKFLAGS test}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue