From: Bruno Haible Date: Wed, 4 Feb 2004 12:30:07 +0000 (+0000) Subject: Deal better with the case when po/ did not exist yet. X-Git-Tag: v0.14.2~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50698beb8f6750a1417f3c9fd69bb9e052339f8;p=thirdparty%2Fgettext.git Deal better with the case when po/ did not exist yet. --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 8785f6daf..4bf9cb5f1 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-04 Bruno Haible + + * gettextize.in: Add po to SUBDIRS if it was created in this run. + Tell the user to create po/POTFILES.in if it is not yet there. + Reported by Prof. Roberto Bagnara . + 2004-02-02 Bruno Haible * gettextize.in (m4filelist): Add glibc2.m4. diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 6e581c187..fcbd1bb41 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -517,6 +517,7 @@ test -d "$srcdir/po" || { else echo "Create po/ subdirectory" fi + added_directories="$added_directories po" } # Now copy all files. Take care for the destination directories. @@ -637,6 +638,11 @@ if test -f "$srcdir/po/stamp-cat-id"; then $do_changelog && func_poChangeLog_add_entry " * stamp-cat-id: Remove file." fi $do_changelog && func_poChangeLog_finish +if test ! -f "$srcdir/po/POTFILES.in"; then + please="$please +Please create po/POTFILES.in as described in the documentation. +" +fi m4filelist=' codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 intmax.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4