From: Bruno Haible Date: Tue, 8 Mar 2005 13:18:59 +0000 (+0000) Subject: Create the auxdir if it doesn't exist. X-Git-Tag: v0.14.3~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ad4c63dbfb759db31653816e0db3d176792a0c;p=thirdparty%2Fgettext.git Create the auxdir if it doesn't exist. --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 9d8c4a8d9..5b90207c6 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,8 @@ +2005-03-07 Bruno Haible + + * gettextize.in: Create the auxdir if it doesn't exist. + Suggested by Alexandre Duret-Lutz . + 2005-03-07 Bruno Haible * gettextize.in (func_m4ChangeLog_init, func_m4ChangeLog_add_entry, diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index b4615c07e..962c93ef2 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -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