[Pkg-privacy-commits] [irssi-plugin-otr] 186/267: Fix: Automake install-data-hook must respect $DESTDIR

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit cf5fe79e6d63cfb0b70b8ad01bb06714e5124e3f
Author: Christian Babeux <christian.babeux at 0x80.ca>
Date:   Thu Dec 6 23:29:30 2012 -0500

    Fix: Automake install-data-hook must respect $DESTDIR
    
    Signed-off-by: Christian Babeux <christian.babeux at 0x80.ca>
---
 src/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 4f931be..eb2da86 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,6 +24,6 @@ otr_la_LDFLAGS = -avoid-version -module
 otr_la_LDFLAGS += $(LIBOTR_LIBS) $(LIBGCRYPT_LIBS) -lpthread
 
 install-data-hook:
-	rm $(plugindir)/otr.la
-	mv $(plugindir)/otr.so $(plugindir)/libotr.so
-	chmod 644 $(plugindir)/libotr.so
+	rm $(DESTDIR)$(plugindir)/otr.la
+	mv $(DESTDIR)$(plugindir)/otr.so $(DESTDIR)$(plugindir)/libotr.so
+	chmod 644 $(DESTDIR)$(plugindir)/libotr.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git



More information about the Pkg-privacy-commits mailing list