[mutter] Fix uninstalling default.so



commit c8b4939c7e17d402b66c1da6ea533142df687256
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon Mar 26 14:18:31 2012 -0400

    Fix uninstalling default.so
    
    We need a clean uninstall for 'make distcheck' to pass; libtool
    hijinks leave a left-over plugins/default.so - remove it manually.

 src/compositor/plugins/Makefile.am |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/plugins/Makefile.am b/src/compositor/plugins/Makefile.am
index ac7d23c..156c3cb 100644
--- a/src/compositor/plugins/Makefile.am
+++ b/src/compositor/plugins/Makefile.am
@@ -16,3 +16,9 @@ pkglib_LTLIBRARIES = default.la
 install-exec-hook:
 	-rm $(DESTDIR)$(pkglibdir)/*.a
 	-rm $(DESTDIR)$(pkglibdir)/*.la
+
+# Since we removed the .la file, 'make uninstall' doesn't work properly,
+# since it counts on libtool to remove the .la files, so just kill the
+# .so file manually.
+uninstall-local:
+	-rm -f $(DESTDIR)$(pkglibdir)/default.so



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