From 75910f59e718caa079644dadd6e663fc68994239 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 23 Jun 2012 17:11:46 -0400 Subject: libsandbox: add uninstall target to fix distcheck Newer distcheck runs uninstall which is apparently broken. Signed-off-by: Mike Frysinger --- libsandbox/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am index 9edd466..0856aa4 100644 --- a/libsandbox/Makefile.am +++ b/libsandbox/Makefile.am @@ -36,6 +36,10 @@ libsandbox_la_SOURCES = \ install-exec-hook: rm -f $(DESTDIR)$(libdir)/libsandbox.la +# Since we removed the .la file, libtool uninstall doesn't work, +# so we have to manually uninstall libsandbox.so ourselves. +uninstall-hook: + rm -f $(DESTDIR)$(libdir)/libsandbox.so libsandbox.c: libsandbox.map sb_nr.h trace.c: trace_syscalls.h sb_nr.h $(TRACE_FILES) -- cgit v1.2.3-65-gdbad