summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
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/eolian_cxx
parent70cc3677ae9ea4f7edbb38df096a238115b988d3 (diff)
examples: add DESTDIR support for install.
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eolian_cxx/Makefile.am b/src/examples/eolian_cxx/Makefile.am
index cb11ac1..ebc13c2 100644
--- a/src/examples/eolian_cxx/Makefile.am
+++ b/src/examples/eolian_cxx/Makefile.am
@@ -158,12 +158,12 @@ clean-local:
158 rm -f $(EXTRA_PROGRAMS) $(GENERATED) 158 rm -f $(EXTRA_PROGRAMS) $(GENERATED)
159 159
160install-examples: 160install-examples:
161 $(MKDIR_P) $(datadir)/eolian_cxx/examples 161 $(MKDIR_P) $(DESTDIR)$(datadir)/eolian_cxx/examples
162 cd $(abs_srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eolian_cxx/examples 162 cd $(abs_srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eolian_cxx/examples
163 163
164uninstall-local: 164uninstall-local:
165 for f in $(SRCS) $(DATA_FILES); do \ 165 for f in $(SRCS) $(DATA_FILES); do \
166 rm -f $(datadir)/eolian_cxx/examples/$$f ; \ 166 rm -f $(DESTDIR)$(datadir)/eolian_cxx/examples/$$f ; \
167 done 167 done
168 168
169if ALWAYS_BUILD_EXAMPLES 169if ALWAYS_BUILD_EXAMPLES