aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-04-16 14:33:42 +0100
committerTom Hacohen <tom@stosb.com>2013-04-16 14:33:42 +0100
commit8d7fdf94ed3e025079c35db37331f84e40130546 (patch)
treecbb352d8158d07921719e4541c8cb84e796c4a33 /data
parentEina tests: Use TESTS_BUILD_DIR instead of PACKAGE_BUILD_DIR. (diff)
downloadefl-8d7fdf94ed3e025079c35db37331f84e40130546.tar.gz
Fixed make install with DESDIR.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 81c873c9bb..d19687139c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -43,8 +43,8 @@ eo/libeo-gdb.py: eo/libeo-gdb.py.in
$(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/eo/libeo-gdb.py
install-data-hook: eo/libeo-gdb.py
- $(MKDIR_P) $(datadir)/gdb/auto-load/$(libdir)
- $(INSTALL) $(builddir)/eo/libeo-gdb.py $(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
+ $(MKDIR_P) $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)
+ $(INSTALL) $(builddir)/eo/libeo-gdb.py $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
EXTRA_DIST += $(gdbscripts_SCRIPTS) eo/libeo-gdb.py.in