Dothem: Allow nodoc option

Junio C Hamano committed Mar 30, 2009 at 14:42 UTC e41c22c7e638e1a95336b22bb20908169847a605
1 file changed +6 -5
Dothem
+6 -5
@@ -4,12 +4,13 @@
4 : ${BUILDBASE=../buildfarm}
5 : ${branches='next master maint pu jch'}
6
7 -force= with_dash= M= install=
7 +force= with_dash= M= install= nodoc=
8 while case "$1" in
9 -pedantic) M=$1 ;;
10 -force) force=$1 ;;
11 -dash) with_dash=y ;;
12 -noinstall) install=noinstall ;;
13 + -nodoc) nodoc=y ;;
14 *) break ;;
15 esac
16 do
@@ -93,12 +94,12 @@ do
94 Meta/Make $M -- $J all &&
95 Meta/Make $M -- $J $dotest &&
96 case "$branch" in
96 - master | maint | next )
97 - Meta/Make $M -- doc
98 - ;;
99 - jch )
97 + jch)
98 Meta/Make $M -- doc install-doc
99 ;;
100 + master | maint | next )
101 + test -z "$nodoc" || Meta/Make $M -- doc
102 + ;;
103 *)
104 : ;;
105 esac &&