[Pkg-privacy-commits] [irssi-plugin-otr] 212/267: cleanup automake voodoo

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:34 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 4f5394153134280c84d9479df1c0666cd582f114
Author: Antoine Beaupré <anarcat at koumbit.org>
Date:   Wed May 8 22:54:08 2013 -0400

    cleanup automake voodoo
    
    we directly build the library with the right name instead of renaming
    it during the build process
---
 src/Makefile.am | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index eb2da86..a9e47fd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,16 +14,14 @@ IRSSI_INCLUDE = -I$(IRSSI_DIST) \
 INCLUDES = -I$(top_srcdir)/src $(IRSSI_INCLUDE)
 
 plugindir = $(IRSSI_MODULE_DIR)
-plugin_LTLIBRARIES = otr.la
+plugin_LTLIBRARIES = libotr.la
 
-otr_la_SOURCES = otr-formats.c otr-formats.h \
+libotr_la_SOURCES = otr-formats.c otr-formats.h \
                  key.c key.h cmd.c cmd.h otr.c otr-ops.c \
                  utils.h utils.c otr.h module.c module.h irssi-otr.h
 
-otr_la_LDFLAGS = -avoid-version -module
-otr_la_LDFLAGS += $(LIBOTR_LIBS) $(LIBGCRYPT_LIBS) -lpthread
+libotr_la_LDFLAGS = -avoid-version -module
+libotr_la_LDFLAGS += $(LIBOTR_LIBS) $(LIBGCRYPT_LIBS) -lpthread
 
 install-data-hook:
-	rm $(DESTDIR)$(plugindir)/otr.la
-	mv $(DESTDIR)$(plugindir)/otr.so $(DESTDIR)$(plugindir)/libotr.so
-	chmod 644 $(DESTDIR)$(plugindir)/libotr.so
+	rm $(DESTDIR)/$(plugindir)/libotr.la

-- 
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