aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-06 08:08:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-06 08:08:46 +0200
commitc879bd07a90c9c74131de005c1b491240b0f8596 (patch)
tree740e8ed1d6840c185c1682152da286f1ed909c65
parent7371f85b8b28913196fdb4214cff5cae364adf70 (diff)
Respect DESTDIR in install hook
Thanks to Hugo Mildenberger <Hugo.Mildenberger@web.de> for the patch.
-rw-r--r--odb/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/Makefile.am b/odb/Makefile.am
index 72a2ad1..1fa8298 100644
--- a/odb/Makefile.am
+++ b/odb/Makefile.am
@@ -19,7 +19,7 @@ odb_la_LDFLAGS = -module -shrext .so -avoid-version
# Remove the .la file from the final install.
#
install-data-hook:
- rm -f '$(bindir)/odb.la'
+ rm -f '$(DESTDIR)/$(bindir)/odb.la'
# Driver.
#