]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Create an empty initial po/POTFILES.in.
authorBruno Haible <bruno@clisp.org>
Mon, 7 Mar 2005 19:51:06 +0000 (19:51 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:21 +0000 (12:12 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index e445a1283d72edce455f240947b054868c7d170e..ab3dd7c968926c85b825e1fd97f7ae4720ddcd3e 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-05  Bruno Haible  <bruno@clisp.org>
+
+       * gettextize.in: When a po/POTFILES.in does not exist, create an
+       initial empty one.
+       Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
+
 2005-03-05  Bruno Haible  <bruno@clisp.org>
 
        * gettextize.in (func_m4ChangeLog_init, func_m4ChangeLog_finish):
index 248f6324a6286efe6664165d41978a6b7067ea0d..3e7261e0b5bdb04ec70f815be0a9649ba957e6c6 100644 (file)
@@ -680,12 +680,19 @@ if test -f "$srcdir/po/stamp-cat-id"; then
   func_remove po/stamp-cat-id
   $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
+  if $doit; then
+    echo "Creating initial po/POTFILES.in"
+    echo '# List of source files which contain translatable strings.' > "$srcdir/po/POTFILES.in"
+  else
+    echo "Create initial po/POTFILES.in"
+  fi
+  $do_changelog && func_poChangeLog_add_entry "        * POTFILES.in: New file."
   please="$please
-Please create po/POTFILES.in as described in the documentation.
+Please fill po/POTFILES.in as described in the documentation.
 "
 fi
+$do_changelog && func_poChangeLog_finish
 
 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