Use AC_PROG_MKDIR_P and MKDIR_P instead of AM_PROG_MKDIR_P and mkdir_p
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 22 Oct 2013 10:06:46 +0000 (12:06 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 22 Oct 2013 10:35:29 +0000 (12:35 +0200)
The latter are deprecated, and recent Automake makes a lot of noise
about them.

configure.ac
extensions/Makefile.am
tools/lcov.am

index 9c127ed..c5f1a70 100644 (file)
@@ -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
 
index 69e7c00..f72c407 100644 (file)
@@ -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
index 80023cb..d2d282a 100644 (file)
@@ -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" \