From c8b4939c7e17d402b66c1da6ea533142df687256 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Mon, 26 Mar 2012 14:18:31 -0400 Subject: [PATCH] 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 file changed, 6 insertions(+) diff --git a/src/compositor/plugins/Makefile.am b/src/compositor/plugins/Makefile.am index ac7d23cd6..156c3cbe6 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