Skip to content

Commit

Permalink
build: Fix "make run" with automake 1.12
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bl8 committed Jun 30, 2012
1 parent facaffa commit 3b830ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion autogen.sh
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -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])
Expand Down

0 comments on commit 3b830ce

Please sign in to comment.