[banshee] build: Fix "make run" with automake 1.12



commit 3b830ce60d9b9740587167ea679114df9f5a2ea2
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sat Jun 30 10:52:09 2012 -0400

    build: Fix "make run" with automake 1.12
    
    The $(mkdir_p) variable has been removed in automake 1.12, and its
    replacement $(MKDIR_P) is only available since automake 1.10.
    
    So we now use MKDIR_P and require automake 1.10.

 Makefile.am  |    2 +-
 autogen.sh   |    2 +-
 configure.ac |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 999a0cb..1f47e59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,7 +40,7 @@ PO_FILES = $(addprefix po/, $(addsuffix .gmo, $(ALL_LINGUAS)))
 MO_FILES = $(patsubst po/%.gmo, $(LC_BUILD)/%/LC_MESSAGES/$(PACKAGE).mo, $(PO_FILES))
 
 $(MO_FILES): $(LC_BUILD)/%/LC_MESSAGES/$(PACKAGE).mo: po/%.gmo
-	$(mkdir_p) $(dir $@)
+	$(MKDIR_P) $(dir $@)
 	cp -rf '$<' '$@'
 
 check-bootstrap-env:
diff --git a/autogen.sh b/autogen.sh
index 0326d6c..650b7e1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -58,7 +58,7 @@ fi
 LIBTOOLIZE=$(basename $WHICHLIBTOOLIZE)
 
 check_autotool_version aclocal 1.9
-check_autotool_version automake 1.9
+check_autotool_version automake 1.10
 check_autotool_version autoconf 2.53
 check_autotool_version $LIBTOOLIZE 1.4.3
 check_autotool_version intltoolize 0.35.0
diff --git a/configure.ac b/configure.ac
index 64e8505..38d8aa0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ m4_define([banshee_asm_version], [banshee_api_version.0.0])
 AC_PREREQ(2.52)
 AC_INIT([banshee], banshee_version, [http://bugzilla.gnome.org/enter_bug.cgi?product=banshee])
 
-AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2 tar-ustar foreign])
+AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 tar-ustar foreign])
 AM_MAINTAINER_MODE([enable])
 AM_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([build/m4])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]