From c879bd07a90c9c74131de005c1b491240b0f8596 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 6 Feb 2013 08:08:46 +0200 Subject: Respect DESTDIR in install hook Thanks to Hugo Mildenberger for the patch. --- odb/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. # -- cgit v1.1