[Pkg-privacy-commits] [irssi-plugin-otr] 233/267: Fix: remove .so on uninstall and set +x the .so on install
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:36 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 7cceb0bc04f0333b946bc1ce50dabd272b6c05ec
Author: David Goulet <dgoulet at ev0ke.net>
Date: Thu May 9 11:29:17 2013 -0400
Fix: remove .so on uninstall and set +x the .so on install
For some reasons (unknown), autoconf sets the executable bit to the
installed .so when using the plugin_LTLIBRARIES statement. This puts
back the chmod in the install hook and adds an uninstall hook to remove
the .so that is simply *not* removed during the normal make uninstall.
Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
src/Makefile.am | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index a9e47fd..86dd43e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,4 +24,8 @@ libotr_la_LDFLAGS = -avoid-version -module
libotr_la_LDFLAGS += $(LIBOTR_LIBS) $(LIBGCRYPT_LIBS) -lpthread
install-data-hook:
+ chmod 644 $(DESTDIR)/$(plugindir)/libotr.so
rm $(DESTDIR)/$(plugindir)/libotr.la
+
+uninstall-hook:
+ rm $(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