Dothem: Allow nodoc option

Junio C Hamano committed Mar 30, 2009 at 14:42 UTC e41c22c7e638e1a95336b22bb20908169847a605
1 file changed +6 -5
Dothem
+6 -5
index 7e2c5c2d97..9425b68c7d 100755 --- a/Dothem +++ b/Dothem @@ -4,12 +4,13 @@ : ${BUILDBASE=../buildfarm} : ${branches='next master maint pu jch'} -force= with_dash= M= install= +force= with_dash= M= install= nodoc= while case "$1" in -pedantic) M=$1 ;; -force) force=$1 ;; -dash) with_dash=y ;; -noinstall) install=noinstall ;; + -nodoc) nodoc=y ;; *) break ;; esac do @@ -93,12 +94,12 @@ do Meta/Make $M -- $J all && Meta/Make $M -- $J $dotest && case "$branch" in - master | maint | next ) - Meta/Make $M -- doc - ;; - jch ) + jch) Meta/Make $M -- doc install-doc ;; + master | maint | next ) + test -z "$nodoc" || Meta/Make $M -- doc + ;; *) : ;; esac &&