]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Create the auxdir if it doesn't exist.
authorBruno Haible <bruno@clisp.org>
Tue, 8 Mar 2005 13:18:59 +0000 (13:18 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:23 +0000 (12:12 +0200)
gettext-tools/misc/ChangeLog
gettext-tools/misc/gettextize.in

index 9d8c4a8d906fe7f85014a92f43983a008545b658..5b90207c62376ea5599b3083cbdd3c28c48c45a1 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-07  Bruno Haible  <bruno@clisp.org>
+
+       * gettextize.in: Create the auxdir if it doesn't exist.
+       Suggested by Alexandre Duret-Lutz <adl@src.lip6.fr>.
+
 2005-03-07  Bruno Haible  <bruno@clisp.org>
 
        * gettextize.in (func_m4ChangeLog_init, func_m4ChangeLog_add_entry,
index b4615c07e56ced311174649479fa0797af4281fa..962c93ef2e851eb1979edcc0c6d9a19bac225106 100644 (file)
@@ -569,6 +569,18 @@ test -d "$srcdir/po" || {
   added_directories="$added_directories po"
 }
 
+# Create the directory for config.rpath, mkinstalldirs, if needed.
+# This is for consistency with autoreconf and automake.
+# Note that $auxdir is either empty or ends in a slash.
+test -d "$srcdir/$auxdir" || {
+  if $doit; then
+    echo "Creating $auxdir subdirectory"
+    mkdir "$srcdir/$auxdir" || func_fatal_error "failed to create $auxdir subdirectory"
+  else
+    echo "Create $auxdir subdirectory"
+  fi
+}
+
 # Now copy all files.  Take care for the destination directories.
 for file in *; do
   case $file in