telepathy-gabble: Use MKDIR_P instead of deprecated mkdir_p

Simon McVittie smcv at kemper.freedesktop.org
Wed Oct 9 10:39:20 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: c21d633ef135331c95f65786f394627a924588cb
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=c21d633ef135331c95f65786f394627a924588cb

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Oct  2 16:47:19 2013 +0100

Use MKDIR_P instead of deprecated mkdir_p

In theory, AC_PROG_MKDIR_P only sets MKDIR_P, although for now it
also sets the deprecated mkdir_p for compatibility with AM_PROG_MKDIR_P.

Similar to MC commit 04dd9b4.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70045
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

---

 extensions/Makefile.am |    2 +-
 tools/lcov.am          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/Makefile.am b/extensions/Makefile.am
index 07899a1..2e4ac36 100644
--- a/extensions/Makefile.am
+++ b/extensions/Makefile.am
@@ -48,7 +48,7 @@ DROP_NAMESPACE = sed -e 's at xmlns:tp="http://telepathy\.freedesktop\.org/wiki/Dbu
 XSLTPROCFLAGS = --nonet --novalid
 
 _gen/all.xml: all.xml $(wildcard *.xml) Makefile.am
-	@$(mkdir_p) _gen
+	@$(MKDIR_P) _gen
 	$(AM_V_GEN)$(PYTHON) $(tools_dir)/xincludator.py \
 		$< > $@.tmp && mv $@.tmp $@
 
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" \



More information about the telepathy-commits mailing list