summaryrefslogtreecommitdiff
path: root/src/examples/eldbus
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/eldbus
parent70cc3677ae9ea4f7edbb38df096a238115b988d3 (diff)
examples: add DESTDIR support for install.
Diffstat (limited to 'src/examples/eldbus')
-rw-r--r--src/examples/eldbus/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eldbus/Makefile.am b/src/examples/eldbus/Makefile.am
index 65e6254..0bb7a99 100644
--- a/src/examples/eldbus/Makefile.am
+++ b/src/examples/eldbus/Makefile.am
@@ -90,12 +90,12 @@ clean-local:
90 rm -f $(EXTRA_PROGRAMS) 90 rm -f $(EXTRA_PROGRAMS)
91 91
92install-examples: 92install-examples:
93 $(MKDIR_P) $(datadir)/eldbus/examples 93 $(MKDIR_P) $(DESTDIR)$(datadir)/eldbus/examples
94 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eldbus/examples 94 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eldbus/examples
95 95
96uninstall-local: 96uninstall-local:
97 for f in $(SRCS) $(DATA_FILES); do \ 97 for f in $(SRCS) $(DATA_FILES); do \
98 rm -f $(datadir)/eldbus/examples/$$f ; \ 98 rm -f $(DESTDIR)$(datadir)/eldbus/examples/$$f ; \
99 done 99 done
100 100
101if ALWAYS_BUILD_EXAMPLES 101if ALWAYS_BUILD_EXAMPLES