stefan pushed a commit to branch master.

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

commit 6986e0c8f5fbc15bdbff271780c587820cbcf485
Author: Stefan Schmidt <[email protected]>
Date:   Thu Jun 16 11:12:55 2016 +0200

    examples: elua: ensure the install hook honors a set DESTDIR
    
    Reported by Simotek when testing the latest snapshot:
    Were getting closer, "/usr/bin/mkdir -p /usr/share/elua/examples" should
    be "/usr/bin/mkdir -p
    
/home/abuild/rpmbuild/BUILDROOT/efl-1.17.99.48545-1.x86_64/usr/share/elua/examples"
---
 src/examples/elua/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/examples/elua/Makefile.am b/src/examples/elua/Makefile.am
index a94d60d..54b01ff 100644
--- a/src/examples/elua/Makefile.am
+++ b/src/examples/elua/Makefile.am
@@ -10,12 +10,12 @@ examples: ;
 clean-local: ;
 
 install-examples:
-       $(MKDIR_P) $(datadir)/elua/examples
-#      cd $(srcdir) && $(install_sh_DATA) -c $(DATA_FILES) 
$(datadir)/elua/examples
+       $(MKDIR_P) $(DESTDIR)$(datadir)/elua/examples
+#      cd $(srcdir) && $(install_sh_DATA) -c $(DATA_FILES) 
$(DESTDIR)$(datadir)/elua/examples
 
 #uninstall-local:
 #      for f in $(DATA_FILES); do \
-#        rm -f $(datadir)/elua/examples/$$f ; \
+#        rm -f $(DESTDIR)$(datadir)/elua/examples/$$f ; \
 #      done
 
 endif

-- 


Reply via email to