]> git.0d.be Git - empathy.git/commitdiff
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 9c127ed8b2907c1cb5456c9eb0dca858262214e1..c5f1a709c26283dba454ed00afedeb8136c31288 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 69e7c00d0df6a0a6df3f2b1973120c79b288a151..f72c407c0a2a98bc62f1bd6aad55e2255b2ff78a 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 80023cb78d0c637ed666af6b4446018deb19823f..d2d282ac34a33dc25f938e5aff792b4c94b6af3c 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" \