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