[gnome-bluetooth] lib: remove libgnome-bluetooth-applet.so* in an uninstall-hook



commit 62ebcf62f374f11c7a15f87c7a30a610fe2d16d3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Mar 20 16:34:40 2012 -0400

    lib: remove libgnome-bluetooth-applet.so* in an uninstall-hook
    
    Suggested by Colin Walters to fix make distcheck. Since we add a custom
    install hook to remove libgnome-bluetooth-applet.la, and make uninstall
    relies on that to determine the list of files to uninstall, we should
    also add another uninstall hook to remove the actual shared objects.

 applet/Makefile-lib.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/applet/Makefile-lib.am b/applet/Makefile-lib.am
index e01c386..409023a 100644
--- a/applet/Makefile-lib.am
+++ b/applet/Makefile-lib.am
@@ -15,6 +15,8 @@ AM_CFLAGS = -I$(srcdir) -I$(top_srcdir)/lib $(LIBGNOMEBT_CFLAGS) $(WARN_CFLAGS)
 
 install-data-hook:
 	rm $(DESTDIR)$(pkglibdir)/libgnome-bluetooth-applet.la
+uninstall-hook:
+	rm -f $(DESTDIR)$(pkglibdir)/libgnome-bluetooth-applet.so*
 
 include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]