summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-16 11:12:55 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-16 11:16:30 +0200
commit6986e0c8f5fbc15bdbff271780c587820cbcf485 (patch)
tree0ad2320ff912aacd9ca8121c77a17c2f61a3703d
parent326d0246c811938a6fb7e88c4c3724e2f4f342cc (diff)
downloadefl-6986e0c8f5fbc15bdbff271780c587820cbcf485.tar.gz
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"
-rw-r--r--src/examples/elua/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elua/Makefile.am b/src/examples/elua/Makefile.am
index a94d60d26e..54b01fff92 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