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.

Junio C Hamano committed Apr 2, 2009 at 10:18 UTC 411b5ebe488162e45606a10b7371c75e6e55e443
1 file changed +2 -3
Dothem
+2 -3
@@ -91,14 +91,13 @@ do
91 ;;
92 esac &&
93
94 - Meta/Make $M -- $J all &&
94 Meta/Make $M -- $J $dotest &&
95 case "$branch" in
96 jch)
98 - Meta/Make $M -- doc install-doc
97 + test -n "$nodoc" || Meta/Make $M -- doc install-doc
98 ;;
99 master | maint | next )
101 - test -z "$nodoc" || Meta/Make $M -- doc
100 + test -n "$nodoc" || Meta/Make $M -- doc
101 ;;
102 *)
103 : ;;