diff options
-rw-r--r-- | misc/ChangeLog | 6 | ||||
-rw-r--r-- | misc/gettextize.in | 43 |
2 files changed, 28 insertions, 21 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog index a8a423f..cdecf05 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,9 @@ +2001-03-09 Bruno Haible <haible@clisp.cons.org> + + * gettextize.in: Update copyright year. Add code to update + po/ChangeLog and tell the user about the m4 macros. Don't attempt to + run config.status, because aclocal.m4 is not ready. + 2001-03-03 Karl Eichwalder <ke@suse.de> * po-mode.el (po-subedit-exit): Run po-subedit-exit-hook before diff --git a/misc/gettextize.in b/misc/gettextize.in index 89a06a3..93929be 100644 --- a/misc/gettextize.in +++ b/misc/gettextize.in @@ -35,7 +35,6 @@ Usage: gettextize [OPTION]... [package-dir] Report bugs to <bug-gnu-utils@gnu.org>." package=@PACKAGE@ version=@VERSION@ -aclocal_version=@ACLOCAL_VERSION@ try_ln_s=: while test $# -gt 0; do @@ -53,7 +52,7 @@ while test $# -gt 0; do $echo "$usage"; exit 0 ;; --version | --v* ) echo "$progname (GNU $package) $version" - $echo "Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. + $echo "Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." $echo "Written by" "Ulrich Drepper" @@ -143,7 +142,7 @@ cd $gettext_dir || { # Now copy all files. Take care for the destination directories. for file in *; do case $file in - intl | po | demo) + intl | po) ;; *) rm -f $srcdir/$file @@ -168,24 +167,26 @@ for file in *; do ($try_ln_s && ln -s $gettext_dir/po/$file $srcdir/po/$file) 2>/dev/null || cp $file $srcdir/po/$file done - - -# Check whether we can run config.status to produce intl/Makefile.in. -cd $origdir -if test -f ./config.status; then - if test $configstatus -eq 0; then - echo "Shall I run config.status? (y/N)" - read ans - case "$ans" in - y* | Y* | 1* ) - configstatus=1 ;; - * ) - ;; - esac - fi - - test $configstatus -ne 0 && - (CONFIG_FILES=intl/Makefile CONFIG_HEADERS= ./config.status) +rm -f $srcdir/po/cat-id-tbl.c $srcdir/po/stamp-cat-id +DATE=`date +%Y-%m-%d` +cat > $srcdir/po/ChangeLog.tmp <<EOF +$DATE gettextize <bug-gnu-utils@gnu.org> + + * Makefile.in.in: Upgrade to gettext-${version}. + * cat-id-tbl.c, stamp-cat-id: Remove files. + +EOF +if test -f $srcdir/po/ChangeLog; then + cat $srcdir/po/ChangeLog >> $srcdir/po/ChangeLog.tmp + cp -p $srcdir/po/ChangeLog $srcdir/po/ChangeLog~ fi +cp $srcdir/po/ChangeLog.tmp $srcdir/po/ChangeLog +rm -f $srcdir/po/ChangeLog.tmp + +echo "Please add the files" +echo " codeset.m4 gettext.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4" +echo "from the @datadir@/aclocal directory to your autoconf macro directory" +echo "or directly to your aclocal.m4 file." +echo exit 0 |