[empathy] Use AC_PROG_MKDIR_P and MKDIR_P instead of AM_PROG_MKDIR_P and mkdir_p
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Use AC_PROG_MKDIR_P and MKDIR_P instead of AM_PROG_MKDIR_P and mkdir_p
- Date: Tue, 22 Oct 2013 10:49:24 +0000 (UTC)
commit 506d80481e303bdc03cf93e0688a96d2253bf822
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Oct 22 12:06:46 2013 +0200
Use AC_PROG_MKDIR_P and MKDIR_P instead of AM_PROG_MKDIR_P and mkdir_p
The latter are deprecated, and recent Automake makes a lot of noise
about them.
configure.ac | 2 +-
extensions/Makefile.am | 4 ++--
tools/lcov.am | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9c127ed..c5f1a70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,7 +126,7 @@ AM_SILENT_RULES([yes])
# Check for programs
AC_PROG_CC
AC_HEADER_STDC
-AM_PROG_MKDIR_P
+AC_PROG_MKDIR_P
AM_PATH_GLIB_2_0
AC_PATH_XTRA
diff --git a/extensions/Makefile.am b/extensions/Makefile.am
index 69e7c00..f72c407 100644
--- a/extensions/Makefile.am
+++ b/extensions/Makefile.am
@@ -59,7 +59,7 @@ XSLTPROCFLAGS = --nonet --novalid
# Generated files which can be generated for all categories simultaneously
_gen/all.xml: all.xml $(wildcard *.xml) $(tools_dir)/xincludator.py
- @$(mkdir_p) _gen
+ @$(MKDIR_P) _gen
$(AM_V_GEN)$(PYTHON) $(tools_dir)/xincludator.py $< > $@
extensions.html: _gen/all.xml $(tools_dir)/doc-generator.xsl
@@ -94,7 +94,7 @@ _gen/interfaces-body.h _gen/interfaces.h: _gen/all.xml \
# although you can subdivide further if you want.
_gen/misc.xml: misc.xml $(wildcard *.xml) $(tools_dir)/xincludator.py
- @$(mkdir_p) _gen
+ @$(MKDIR_P) _gen
$(AM_V_GEN)$(PYTHON) $(tools_dir)/xincludator.py $< > $@
_gen/cli-misc-body.h: _gen/cli-misc.h
diff --git a/tools/lcov.am b/tools/lcov.am
index 80023cb..d2d282a 100644
--- a/tools/lcov.am
+++ b/tools/lcov.am
@@ -7,7 +7,7 @@ lcov-report:
lcov --directory @top_srcdir@ --output-file @top_builddir@/lcov.info \
--remove @top_builddir@/lcov.info.tmp telepathy-glib-scan.c
rm @top_builddir@/lcov.info.tmp
- $(mkdir_p) @top_builddir@/lcov.html
+ $(MKDIR_P) @top_builddir@/lcov.html
echo "Coming soon!" > @top_builddir@/lcov.html/index.html
git_commit=`GIT_DIR= top_srcdir@/.git git log -1 --pretty=format:%h 2>/dev/null`;\
genhtml --title "@PACKAGE_STRING@ $$git_commit" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]