summaryrefslogtreecommitdiff
path: root/src/examples/emotion
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/emotion
parent70cc3677ae9ea4f7edbb38df096a238115b988d3 (diff)
examples: add DESTDIR support for install.
Diffstat (limited to 'src/examples/emotion')
-rw-r--r--src/examples/emotion/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/emotion/Makefile.am b/src/examples/emotion/Makefile.am
index 15bde92e49..c5027e868b 100644
--- a/src/examples/emotion/Makefile.am
+++ b/src/examples/emotion/Makefile.am
@@ -49,12 +49,12 @@ clean-local:
49 rm -f $(EXTRA_PROGRAMS) 49 rm -f $(EXTRA_PROGRAMS)
50 50
51install-examples: 51install-examples:
52 $(MKDIR_P) $(datadir)/emotion/examples 52 $(MKDIR_P) $(DESTDIR)$(datadir)/emotion/examples
53 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/emotion/examples 53 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/emotion/examples
54 54
55uninstall-local: 55uninstall-local:
56 for f in $(SRCS) $(DATA_FILES); do \ 56 for f in $(SRCS) $(DATA_FILES); do \
57 rm -f $(datadir)/emotion/examples/$$f ; \ 57 rm -f $(DESTDIR)$(datadir)/emotion/examples/$$f ; \
58 done 58 done
59 59
60if ALWAYS_BUILD_EXAMPLES 60if ALWAYS_BUILD_EXAMPLES