Dothem: no point not installing doc if we build it
It is the building part that is expensive.
Junio C Hamano committed
Apr 2, 2009 at 13:01 UTC
ee7126b8f173d028aefc454137de57088e6b53c3
1 file changed
+4
-10
Dothem
+4
-10
index c503a3767d..deaf8fa9a6 100755
--- a/Dothem
+++ b/Dothem
@@ -92,16 +92,10 @@ do
esac &&
Meta/Make $M -- $J $dotest &&
- case "$branch" in
- jch)
- test -n "$nodoc" || Meta/Make $M -- doc install-doc
- ;;
- master | maint | next )
- test -n "$nodoc" || Meta/Make $M -- doc
- ;;
- *)
- : ;;
- esac &&
+ {
+ test -n "$nodoc" ||
+ Meta/Make $M -- doc install-doc
+ } &&
{
test z$install = znoinstall ||
Meta/Make $M -- install