summaryrefslogtreecommitdiff
path: root/src/examples
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 /src/examples
parent326d0246c811938a6fb7e88c4c3724e2f4f342cc (diff)
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"
Diffstat (limited to 'src/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 a94d60d..54b01ff 100644
--- a/src/examples/elua/Makefile.am
+++ b/src/examples/elua/Makefile.am
@@ -10,12 +10,12 @@ examples: ;
10clean-local: ; 10clean-local: ;
11 11
12install-examples: 12install-examples:
13 $(MKDIR_P) $(datadir)/elua/examples 13 $(MKDIR_P) $(DESTDIR)$(datadir)/elua/examples
14# cd $(srcdir) && $(install_sh_DATA) -c $(DATA_FILES) $(datadir)/elua/examples 14# cd $(srcdir) && $(install_sh_DATA) -c $(DATA_FILES) $(DESTDIR)$(datadir)/elua/examples
15 15
16#uninstall-local: 16#uninstall-local:
17# for f in $(DATA_FILES); do \ 17# for f in $(DATA_FILES); do \
18# rm -f $(datadir)/elua/examples/$$f ; \ 18# rm -f $(DESTDIR)$(datadir)/elua/examples/$$f ; \
19# done 19# done
20 20
21endif 21endif