cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d8dd0e1f620abc0bf581117fd088a0827185160a

commit d8dd0e1f620abc0bf581117fd088a0827185160a
Author: Cedric BAIL <[email protected]>
Date:   Mon Aug 11 17:26:29 2014 +0200

    autotools: use non deprecated macro.
    
    I still don't know why there is still a warning.
---
 configure.ac             | 1 +
 data/Makefile.am         | 2 +-
 doc/previews/Makefile.am | 4 ++--
 src/Makefile_Ecore_X.am  | 2 +-
 src/Makefile_Edje.am     | 2 +-
 src/Makefile_Emotion.am  | 2 +-
 src/Makefile_Ethumb.am   | 2 +-
 7 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8e3016b..e132b90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -273,6 +273,7 @@ AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
 
 ### compilers
 
+AC_PROG_MKDIR_P
 AM_PROG_AS
 AC_PROG_CXX
 AC_PROG_OBJC
diff --git a/data/Makefile.am b/data/Makefile.am
index c415896..c36f3b2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -96,7 +96,7 @@ ethumbframes_DATA = ethumb/frames/default.edj
 CLEANFILES += ethumb/frames/default.edj
 
 ethumb/frames/default.edj: ethumb/frames/default.edc
-       @$(MKDIR_P) ethumb/frames/
+       @$(mkdir_p) ethumb/frames/
        $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/ethumb/frames/ $< 
$@
 
 
diff --git a/doc/previews/Makefile.am b/doc/previews/Makefile.am
index 7ec4d17..03f6159 100644
--- a/doc/previews/Makefile.am
+++ b/doc/previews/Makefile.am
@@ -43,8 +43,8 @@ PREVIEWS = blend blur bump curve grow mask transform \
 example_1 padding
 
 previews-data: preview_text_filter
-       $(MKDIR_P) $(DATADIR)
-       $(MKDIR_P) $(HTMLDIR)
+       $(mkdir_p) $(DATADIR)
+       $(mkdir_p) $(HTMLDIR)
        @for a in $(PREVIEWS) ; do \
                echo "  GEN      filter_$${a}.png" ; \
                FONT="Sans" ; \
diff --git a/src/Makefile_Ecore_X.am b/src/Makefile_Ecore_X.am
index 190bde3..43c0647 100644
--- a/src/Makefile_Ecore_X.am
+++ b/src/Makefile_Ecore_X.am
@@ -130,7 +130,7 @@ BUILT_SOURCES += \
 $(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h
 
 $(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h: $(KEYSYMDEFS) 
utils/ecore/makekeys$(EXEEXT)
-       $(MKDIR_P) $(top_builddir)/src/lib/ecore_x/xcb
+       $(mkdir_p) $(top_builddir)/src/lib/ecore_x/xcb
        $(top_builddir)/src/utils/ecore/makekeys $(KEYSYMDEFS) > 
$(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table_h
        mv -f $(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table_h 
$(top_builddir)/src/lib/ecore_x/xcb/ecore_xcb_keysym_table.h
 endif
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 957a885..b09f0a3 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -263,7 +263,7 @@ tests_edje_edje_suite_LDADD = @CHECK_LIBS@  
$(USE_EDJE_BIN_LIBS)
 tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
 
 tests/edje/data/%.edj: tests/edje/data/%.edc bin/edje/edje_cc${EXEEXT}
-       @$(MKDIR_P) tests/edje/data
+       @$(mkdir_p) tests/edje/data
        $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data $< 
$@
 
 EDJE_DATA_FILES = tests/edje/data/test_layout.edc \
diff --git a/src/Makefile_Emotion.am b/src/Makefile_Emotion.am
index 03990d4..d295bfe 100644
--- a/src/Makefile_Emotion.am
+++ b/src/Makefile_Emotion.am
@@ -188,7 +188,7 @@ tests_emotion_emotion_test_LDADD = @USE_EDJE_LIBS@ 
@USE_EMOTION_LIBS@
 tests_emotion_emotion_test_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 
@USE_EMOTION_INTERNAL_LIBS@
 
 tests/emotion/data/theme.edj: tests/emotion/data/theme.edc 
bin/edje/edje_cc${EXEEXT}
-       @$(MKDIR_P) tests/emotion/data
+       @$(mkdir_p) tests/emotion/data
        $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/emotion/data 
$< $@
 
 emotiondatafilesdir = $(datadir)/emotion/data
diff --git a/src/Makefile_Ethumb.am b/src/Makefile_Ethumb.am
index a054c5c..b0a32f4 100644
--- a/src/Makefile_Ethumb.am
+++ b/src/Makefile_Ethumb.am
@@ -49,7 +49,7 @@ modules_ethumb_emotion_module_la_LDFLAGS = -module 
@EFL_LTMODULE_FLAGS@
 modules_ethumb_emotion_module_la_LIBTOOLFLAGS = --tag=disable-static
 
 modules/ethumb/emotion/template.edj: modules/ethumb/emotion/template.edc 
modules/ethumb/emotion/placeholder.png bin/edje/edje_cc${EXEEXT}
-       @$(MKDIR_P) modules/ethumb/emotion
+       @$(mkdir_p) modules/ethumb/emotion
        $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id 
$(srcdir)/modules/ethumb/emotion $< $@
 
 ethumbmoduleemotion_DATA = modules/ethumb/emotion/template.edj

-- 


Reply via email to