summaryrefslogtreecommitdiff
path: root/src/examples/ephysics
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/ephysics
parent70cc3677ae9ea4f7edbb38df096a238115b988d3 (diff)
examples: add DESTDIR support for install.
Diffstat (limited to 'src/examples/ephysics')
-rw-r--r--src/examples/ephysics/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/ephysics/Makefile.am b/src/examples/ephysics/Makefile.am
index fe9bd51..7287c14 100644
--- a/src/examples/ephysics/Makefile.am
+++ b/src/examples/ephysics/Makefile.am
@@ -81,12 +81,12 @@ clean-local:
81 rm -f $(EXTRA_PROGRAMS) 81 rm -f $(EXTRA_PROGRAMS)
82 82
83install-examples: 83install-examples:
84 $(MKDIR_P) $(datadir)/ephysics/examples 84 $(MKDIR_P) $(DESTDIR)$(datadir)/ephysics/examples
85 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(datadir)/ephysics/examples 85 cd $(srcdir) && $(install_sh_DATA) -c $(SRCS) $(DESTDIR)$(datadir)/ephysics/examples
86 86
87uninstall-local: 87uninstall-local:
88 for f in $(SRCS) ; do \ 88 for f in $(SRCS) ; do \
89 rm -f $(datadir)/ephysics/examples/$$f ; \ 89 rm -f $(DESTDIR)$(datadir)/ephysics/examples/$$f ; \
90 done 90 done
91 91
92if ALWAYS_BUILD_EXAMPLES 92if ALWAYS_BUILD_EXAMPLES