build: Unify use of $(MKDIR_P) for creating a dir within the build system

While we used different variation of mkdir -p all over we also had spots
where we did not use the option. This is one step in trying to make our
build system ready for parallel install. Using something like -j 10 even
for the install should help to speed up our jenkins jobs as well as distcheck.
devs/avilog/callbacks_by_hashed_events
Stefan Schmidt 8 years ago
parent 1e83761810
commit c5879dab4d
  1. 4
      Makefile.am
  2. 2
      data/Makefile.am
  3. 2
      doc/Makefile.am
  4. 4
      doc/previews/Makefile.am
  5. 2
      src/Makefile_Ecore_X.am
  6. 2
      src/Makefile_Edje.am
  7. 2
      src/Makefile_Emotion.am
  8. 2
      src/Makefile_Ethumb.am
  9. 2
      src/examples/ecore/Makefile.am
  10. 2
      src/examples/ecore_avahi/Makefile.am
  11. 2
      src/examples/edje/Makefile.am
  12. 2
      src/examples/eet/Makefile.am
  13. 2
      src/examples/eina/Makefile.am
  14. 2
      src/examples/eina_cxx/Makefile.am
  15. 2
      src/examples/eio/Makefile.am
  16. 2
      src/examples/eldbus/Makefile.am
  17. 2
      src/examples/elocation/Makefile.am
  18. 2
      src/examples/elua/Makefile.am
  19. 2
      src/examples/emotion/Makefile.am
  20. 8
      src/examples/eo/Makefile.am
  21. 2
      src/examples/eolian_cxx/Makefile.am
  22. 2
      src/examples/ephysics/Makefile.am
  23. 2
      src/examples/ethumb_client/Makefile.am
  24. 2
      src/examples/evas/Makefile.am

@ -399,7 +399,7 @@ lcov-reset:
@lcov --zerocounters --directory $(top_builddir)
lcov-report:
@mkdir $(top_builddir)/coverage
$(MKDIR_P) $(top_builddir)/coverage
lcov --capture --compat-libtool --no-external --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
@ -425,7 +425,7 @@ endif
benchmark:
@$(MAKE) $(AM_MAKEFLAGS) -C src benchmark
@mkdir benchmark || true
$(MKDIR_P) benchmark
@cd benchmark && ../src/benchmarks/eo/eo_bench$(EXEEXT) `date +%F_%s`
# examples

@ -98,7 +98,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/ $< $@

@ -22,7 +22,7 @@ doc: all previews-build previews-data
cp $(srcdir)/img/* html/
cp $(srcdir)/img/*.eps latex/
rm -rf $(PACKAGE_DOCNAME).tar*
mkdir -p $(PACKAGE_DOCNAME)/doc
$(MKDIR_P) $(PACKAGE_DOCNAME)/doc
cp -R html/ latex/ man/ $(PACKAGE_DOCNAME)/doc
tar cf $(PACKAGE_DOCNAME).tar $(PACKAGE_DOCNAME)/
bzip2 -9 $(PACKAGE_DOCNAME).tar

@ -44,8 +44,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" ; \

@ -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

@ -265,7 +265,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 \

@ -215,7 +215,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

@ -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

@ -288,7 +288,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/ecore/examples
$(MKDIR_P) $(datadir)/ecore/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ecore/examples
uninstall-local:

@ -36,7 +36,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/ecore_avahi/examples
$(MKDIR_P) $(datadir)/ecore_avahi/examples
$(install_sh_DATA) -c $(srcdir)/ecore_avahi_browse_example.c $(datadir)/ecore_avahi/examples
$(install_sh_DATA) -c $(srcdir)/ecore_avahi_example.c $(datadir)/ecore_avahi/examples

@ -201,7 +201,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS) $(EDJS) $(CODEGEN_GENERATED)
install-examples: $(EDJS)
mkdir -p $(datadir)/edje/examples
$(MKDIR_P) $(datadir)/edje/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DIST_EDCS) $(DATA_FILES) $(datadir)/edje/examples
cd $(builddir) && $(install_sh_DATA) -c $(EDJS) $(datadir)/edje/examples

@ -50,7 +50,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/eet/examples
$(MKDIR_P) $(datadir)/eet/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eet/examples
uninstall-local:

@ -152,7 +152,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/eina/examples
$(MKDIR_P) $(datadir)/eina/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina/examples
uninstall-local:

@ -29,7 +29,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/eina_cxx/examples
$(MKDIR_P) $(datadir)/eina_cxx/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eina_cxx/examples
uninstall-local:

@ -49,7 +49,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/eio/examples
$(MKDIR_P) $(datadir)/eio/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eio/examples
uninstall-local:

@ -83,7 +83,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/eldbus/examples
$(MKDIR_P) $(datadir)/eldbus/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eldbus/examples
uninstall-local:

@ -38,7 +38,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/elocation/examples
$(MKDIR_P) $(datadir)/elocation/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/elocation/examples
uninstall-local:

@ -10,7 +10,7 @@ examples: ;
clean-local: ;
#install-examples:
# mkdir -p $(datadir)/elua/examples
# $(MKDIR_P) $(datadir)/elua/examples
# cd $(srcdir) && $(install_sh_DATA) -c $(DATA_FILES) $(datadir)/elua/examples
#uninstall-local:

@ -49,7 +49,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/emotion/examples
$(MKDIR_P) $(datadir)/emotion/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/emotion/examples
uninstall-local:

@ -72,15 +72,15 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/eo/examples
mkdir -p $(datadir)/eo/examples/isa
mkdir -p $(datadir)/eo/examples/simple
$(MKDIR_P) $(datadir)/eo/examples
$(MKDIR_P) $(datadir)/eo/examples/isa
$(MKDIR_P) $(datadir)/eo/examples/simple
cd $(srcdir); \
$(install_sh_DATA) -c $(DATA_FILES) $(datadir)/eo/examples; \
$(install_sh_DATA) -c $(eo_isa_SOURCES) $(datadir)/eo/examples/isa; \
$(install_sh_DATA) -c $(eo_simple_SOURCES) $(datadir)/eo/examples/simple;
if EO_BUILD_EXAMPLE_EVAS
mkdir -p $(datadir)/eo/examples/evas
$(MKDIR_P) $(datadir)/eo/examples/evas
cd $(srcdir) && $(install_sh_DATA) -c $(eo_evas_SOURCES) $(datadir)/eo/examples/evas
endif

@ -143,7 +143,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS) $(GENERATED)
install-examples:
mkdir -p $(datadir)/eolian_cxx/examples
$(MKDIR_P) $(datadir)/eolian_cxx/examples
cd $(abs_srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eolian_cxx/examples
uninstall-local:

@ -81,7 +81,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/ephysics/examples
$(MKDIR_P) $(datadir)/ephysics/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(datadir)/ephysics/examples
uninstall-local:

@ -50,7 +50,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS)
install-examples:
mkdir -p $(datadir)/ethumb_client/examples
$(MKDIR_P) $(datadir)/ethumb_client/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ethumb_client/examples
uninstall-local:

@ -378,7 +378,7 @@ clean-local:
rm -f $(EXTRA_PROGRAMS) $(EDJS)
install-examples:
mkdir -p $(datadir)/evas/examples
$(MKDIR_P) $(datadir)/evas/examples
cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(EDCS) $(DATA_FILES) $(datadir)/evas/examples
uninstall-local:

Loading…
Cancel
Save