summaryrefslogtreecommitdiff
path: root/src/examples/ecore/Makefile.am
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-04-14 17:00:08 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-04-14 17:00:08 -0700
commitfb759c7b90e58babee49ecac16cc446871ec47cb (patch)
tree7be071fac00133768d8f01db8e17efe0f782f0f2 /src/examples/ecore/Makefile.am
parent70cc3677ae9ea4f7edbb38df096a238115b988d3 (diff)
examples: add DESTDIR support for install.
Diffstat (limited to 'src/examples/ecore/Makefile.am')
-rw-r--r--src/examples/ecore/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index a8af94fc7d..379f5e0551 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -331,12 +331,12 @@ clean-local:
331 rm -f $(EXTRA_PROGRAMS) 331 rm -f $(EXTRA_PROGRAMS)
332 332
333install-examples: 333install-examples:
334 $(MKDIR_P) $(datadir)/ecore/examples 334 $(MKDIR_P) $(DESTDIR)$(datadir)/ecore/examples
335 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/ecore/examples 335 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/ecore/examples
336 336
337uninstall-local: 337uninstall-local:
338 for f in $(SRCS) $(DATA_FILES); do \ 338 for f in $(SRCS) $(DATA_FILES); do \
339 rm -f $(datadir)/ecore/examples/$$f ; \ 339 rm -f $(DESTDIR)$(datadir)/ecore/examples/$$f ; \
340 done 340 done
341 341
342if ALWAYS_BUILD_EXAMPLES 342if ALWAYS_BUILD_EXAMPLES