Browse Source

Dothem: fix dotest/nodoc conditional

The test for nodoc was wrong and also missing from jch branch.
When dotest is not set, make was run twice.  By running make with
just $dotest, we can build either (implicit) all or test.
todo
Junio C Hamano 16 years ago
parent
commit
411b5ebe48
  1. 5
      Dothem

5
Dothem

@ -91,14 +91,13 @@ do @@ -91,14 +91,13 @@ do
;;
esac &&

Meta/Make $M -- $J all &&
Meta/Make $M -- $J $dotest &&
case "$branch" in
jch)
Meta/Make $M -- doc install-doc
test -n "$nodoc" || Meta/Make $M -- doc install-doc
;;
master | maint | next )
test -z "$nodoc" || Meta/Make $M -- doc
test -n "$nodoc" || Meta/Make $M -- doc
;;
*)
: ;;

Loading…
Cancel
Save