Improve an error message.
authorBruno Haible <bruno@clisp.org>
Sat, 29 Jul 2006 12:46:34 +0000 (12:46 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 29 Jul 2006 12:46:34 +0000 (12:46 +0000)
ChangeLog
gnulib-tool

index c0c8c61..bf756f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Extend error message about missing
+       --doc-base.
+
 2006-07-28  Simon Josefsson  <jas@extundo.com>
 
        * modules/inet_ntop (Depends-on): Depend on arpa_inet.
index abc3e52..bba24a9 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-07-20 16:53:35 $'
+cvsdatestamp='$Date: 2006-07-29 12:46:34 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -1030,7 +1030,7 @@ func_import ()
   if test -z "$docbase"; then
     docbase="$cached_docbase"
     if test -z "$docbase"; then
-      func_fatal_error "missing --doc-base option"
+      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.