]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Deal better with the case when po/ did not exist yet.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Feb 2004 12:30:07 +0000 (12:30 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:47 +0000 (12:11 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index 8785f6dafb1a4bb264d5e115eb43b03d8c585410..4bf9cb5f1545be76a2e457c8154626a1edd33ee4 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-04  Bruno Haible  <bruno@clisp.org>
+
+       * 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 <bagnara@cs.unipr.it>.
+
 2004-02-02  Bruno Haible  <bruno@clisp.org>
 
        * gettextize.in (m4filelist): Add glibc2.m4.
index 6e581c187708d5fecf31a6e2411bec7bb870a143..fcbd1bb4175b6ae8baaf42104714a442ac373cf7 100644 (file)
@@ -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