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"
This commit is contained in:
Stefan Schmidt 2016-06-16 11:12:55 +02:00
parent 326d0246c8
commit 6986e0c8f5
1 changed files with 3 additions and 3 deletions

View File

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