Skip to content
Browse files

Merge pull request #18 from cbab/master

Automake install-data-hook must respect $DESTDIR
  • Loading branch information...
2 parents 0668825 + cf5fe79 commit 5f685aa050a35d4c2e438b962c11753a830355bc @DrWhax DrWhax 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 5f685aa

Please sign in to comment.
Something went wrong with that request. Please try again.