autotools: use non deprecated macro.
authorCedric BAIL <cedric@osg.samsung.com>
Mon, 11 Aug 2014 15:26:29 +0000 (17:26 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 12 Aug 2014 09:19:57 +0000 (11:19 +0200)
I still don't know why there is still a warning.

configure.ac
data/Makefile.am
doc/previews/Makefile.am
src/Makefile_Ecore_X.am
src/Makefile_Edje.am
src/Makefile_Emotion.am
src/Makefile_Ethumb.am

index 8e3016b..e132b90 100644 (file)
@@ -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
index c415896..c36f3b2 100644 (file)
@@ -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/ $< $@
 
 
index 7ec4d17..03f6159 100644 (file)
@@ -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" ; \
index 190bde3..43c0647 100644 (file)
@@ -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
index 957a885..b09f0a3 100644 (file)
@@ -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 \
index 03990d4..d295bfe 100644 (file)
@@ -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
index a054c5c..b0a32f4 100644 (file)
@@ -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