summaryrefslogtreecommitdiff
path: root/src/examples/eio
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/eio
parent70cc3677ae9ea4f7edbb38df096a238115b988d3 (diff)
examples: add DESTDIR support for install.
Diffstat (limited to 'src/examples/eio')
-rw-r--r--src/examples/eio/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am
index ba3bf69436..4f5dbcd88d 100644
--- a/src/examples/eio/Makefile.am
+++ b/src/examples/eio/Makefile.am
@@ -59,12 +59,12 @@ clean-local:
59 rm -f $(EXTRA_PROGRAMS) 59 rm -f $(EXTRA_PROGRAMS)
60 60
61install-examples: 61install-examples:
62 $(MKDIR_P) $(datadir)/eio/examples 62 $(MKDIR_P) $(DESTDIR)$(datadir)/eio/examples
63 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eio/examples 63 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(DESTDIR)$(datadir)/eio/examples
64 64
65uninstall-local: 65uninstall-local:
66 for f in $(SRCS) $(DATA_FILES); do \ 66 for f in $(SRCS) $(DATA_FILES); do \
67 rm -f $(datadir)/eio/examples/$$f ; \ 67 rm -f $(DESTDIR)$(datadir)/eio/examples/$$f ; \
68 done 68 done
69 69
70if ALWAYS_BUILD_EXAMPLES 70if ALWAYS_BUILD_EXAMPLES