Permalink
Browse files

Fix: Automake install-data-hook must respect $DESTDIR

Signed-off-by: Christian Babeux <christian.babeux@0x80.ca>
  • Loading branch information...
1 parent 0668825 commit cf5fe79e6d63cfb0b70b8ad01bb06714e5124e3f @cbab cbab committed Dec 7, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Makefile.am
View
6 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

0 comments on commit cf5fe79

Please sign in to comment.