stefan pushed a commit to branch master.

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

commit d17bbc2a788f2a0e4490a8e2ba418cd902484cd8
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jul 20 19:21:31 2018 -0400

    build: use $(@D) for eolian directory name
    
    this is cosmetic; $(@D) is the standard automatic variable set to the 
directory
    part of the target
    
    https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
    
    Differential Revision: https://phab.enlightenment.org/D6659
---
 src/Makefile_Eolian_Cxx_Helper.am   | 2 +-
 src/Makefile_Eolian_Files_Helper.am | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Makefile_Eolian_Cxx_Helper.am 
b/src/Makefile_Eolian_Cxx_Helper.am
index 52426b877c..94f581e6e9 100644
--- a/src/Makefile_Eolian_Cxx_Helper.am
+++ b/src/Makefile_Eolian_Cxx_Helper.am
@@ -14,5 +14,5 @@ SUFFIXES += .eo.hh
 
 %.eo.impl.hh %.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
        $(AM_V_EOLCXX) \
-       $(MKDIR_P) $(dir $@); \
+       $(MKDIR_P) $(@D); \
        $(EOLIAN_CXX) $(EOLIAN_FLAGS) -o $@ $<
diff --git a/src/Makefile_Eolian_Files_Helper.am 
b/src/Makefile_Eolian_Files_Helper.am
index 463433c6ff..37d5114d14 100644
--- a/src/Makefile_Eolian_Files_Helper.am
+++ b/src/Makefile_Eolian_Files_Helper.am
@@ -7,20 +7,20 @@ SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h .eot .eot.h
 
 %.eo.c: %.eo ${_EOLIAN_GEN_DEP}
        $(AM_V_EOL) \
-       $(MKDIR_P) $(dir $@); \
+       $(MKDIR_P) $(@D); \
        $(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gc -o c:$@ $<
 
 %.eo.h: %.eo ${_EOLIAN_GEN_DEP}
        $(AM_V_EOL) \
-       $(MKDIR_P) $(dir $@); \
+       $(MKDIR_P) $(@D); \
        $(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gh -o h:$@ $<
 
 %.eot.h: %.eot ${_EOLIAN_GEN_DEP}
        $(AM_V_EOL) \
-       $(MKDIR_P) $(dir $@); \
+       $(MKDIR_P) $(@D); \
        $(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gh -o h:$@ $<
 
 %.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}
        $(AM_V_EOL) \
-       $(MKDIR_P) $(dir $@); \
+       $(MKDIR_P) $(@D); \
        $(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gl -o l:$@ $<

-- 


Reply via email to