Run intltoolize after automake, since intltoolize wants mkinstalldirs now.
authorMalcolm Tredinnick <malcolm@src.gnome.org>
Fri, 2 Jan 2004 06:56:51 +0000 (06:56 +0000)
committerMalcolm Tredinnick <malcolm@src.gnome.org>
Fri, 2 Jan 2004 06:56:51 +0000 (06:56 +0000)
* autogen.sh: Run intltoolize after automake, since intltoolize
wants mkinstalldirs now. Should fix bugs #130309 and #130366.

svn path=/trunk/; revision=3434

macros2/ChangeLog
macros2/autogen.sh

index e938001..4792a09 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-02  Malcolm Tredinnick <malcolm@commsecure.com.au>
+
+       * autogen.sh: Run intltoolize after automake, since intltoolize
+       wants mkinstalldirs now. Should fix bugs #130309 and #130366.
+
 2003-12-13  Malcolm Tredinnick <malcolm@commsecure.com.au>
 
        * autogen.sh: Change the use of head to be 'head -n -1', since
index 103c98f..f98bc3d 100644 (file)
@@ -345,10 +345,6 @@ for configure_ac in $configure_files; do
                echo "no" | $GETTEXTIZE --force --copy || exit 1
           fi
        fi
-       if grep "^AC_PROG_INTLTOOL" $basename >/dev/null; then
-           printbold "Running $INTLTOOLIZE..."
-           $INTLTOOLIZE --force --automake || exit 1
-       fi
        if grep "^GTK_DOC_CHECK" $basename >/dev/null; then
            printbold "Running $GTKDOCIZE..."
            $GTKDOCIZE || exit 1
@@ -365,6 +361,13 @@ for configure_ac in $configure_files; do
        printbold "Running $AUTOMAKE..."
        $AUTOMAKE --gnu --add-missing || exit 1
 
+       # This must run after automake, since intltoolize wants mkinstalldirs
+       # to be available and that is only linked or copied by automake.
+       if grep "^AC_PROG_INTLTOOL" $basename >/dev/null; then
+           printbold "Running $INTLTOOLIZE..."
+           $INTLTOOLIZE --force --automake || exit 1
+       fi
+
        printbold "Running $AUTOCONF..."
        $AUTOCONF || exit 1