Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sandbox:master commit in: libsandbox/
Date: Sat, 23 Jun 2012 21:22:11
Message-Id: 1340485956.75910f59e718caa079644dadd6e663fc68994239.vapier@gentoo
1 commit: 75910f59e718caa079644dadd6e663fc68994239
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 23 21:11:46 2012 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 23 21:12:36 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=75910f59
7
8 libsandbox: add uninstall target to fix distcheck
9
10 Newer distcheck runs uninstall which is apparently broken.
11
12 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
13
14 ---
15 libsandbox/Makefile.am | 4 ++++
16 1 files changed, 4 insertions(+), 0 deletions(-)
17
18 diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am
19 index 9edd466..0856aa4 100644
20 --- a/libsandbox/Makefile.am
21 +++ b/libsandbox/Makefile.am
22 @@ -36,6 +36,10 @@ libsandbox_la_SOURCES = \
23
24 install-exec-hook:
25 rm -f $(DESTDIR)$(libdir)/libsandbox.la
26 +# Since we removed the .la file, libtool uninstall doesn't work,
27 +# so we have to manually uninstall libsandbox.so ourselves.
28 +uninstall-hook:
29 + rm -f $(DESTDIR)$(libdir)/libsandbox.so
30
31 libsandbox.c: libsandbox.map sb_nr.h
32 trace.c: trace_syscalls.h sb_nr.h $(TRACE_FILES)