[aisleriot] build: Use AC_PROG_MKDIR_P
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] build: Use AC_PROG_MKDIR_P
- Date: Wed, 27 Jun 2012 19:44:18 +0000 (UTC)
commit 1a08fcaee70fe0ac5641b4759bca8f71d4d4609a
Author: Christian Persch <chpe gnome org>
Date: Wed Jun 27 21:43:38 2012 +0200
build: Use AC_PROG_MKDIR_P
Fix the build using newest autoconf.
https://bugzilla.gnome.org/show_bug.cgi?id=679004
configure.ac | 1 +
data/icons/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 441aca6..c848fb4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,7 @@ PKGS=
AC_PROG_CC
AC_PROG_CPP
AC_PROG_LN_S
+AC_PROG_MKDIR_P
AC_PROG_SED
AM_PROG_CC_C_O
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 3753d36..0e1b1b9 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -38,7 +38,7 @@ install-public-icons:
CONTEXT=`echo $$icon | cut -d_ -f2`; \
SIZE=`echo $$icon | cut -d_ -f3`; \
ICONFILE=`echo $$icon | cut -d_ -f4`; \
- mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
+ $(MKDIR_P) $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
done
@@ -48,7 +48,7 @@ install-private-icons:
CONTEXT=`echo $$icon | cut -d_ -f2`; \
SIZE=`echo $$icon | cut -d_ -f3`; \
ICONFILE=`echo $$icon | cut -d_ -f4`; \
- $(mkdir_p) $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]