Karl Berry wrote: > Delete the (default \"doc\") from the help message, since > evidently it is not so. (Ditto the other dir options, I suppose.) > That was the main thing that misled me.
But the default is 'doc' if gnulib-tool is used for the first time. Instead, I'm changing the error message. 2006-07-29 Bruno Haible <[EMAIL PROTECTED]> * gnulib-tool (func_import): Extend error message about missing --doc-base. *** gnulib-tool 20 Jul 2006 16:53:35 -0000 1.120 --- gnulib-tool 29 Jul 2006 12:45:49 -0000 *************** *** 1030,1036 **** if test -z "$docbase"; then docbase="$cached_docbase" if test -z "$docbase"; then ! func_fatal_error "missing --doc-base option" fi fi # The testsbase defaults to the cached one. --- 1030,1036 ---- if test -z "$docbase"; then docbase="$cached_docbase" if test -z "$docbase"; then ! func_fatal_error "missing --doc-base option. --doc-base has been introduced on 2006-07-11; if your last invocation of 'gnulib-tool --update' is before that date, you need to run 'gnulib-tool --update' once, with a --doc-base option." fi fi # The testsbase defaults to the cached one.