[gconf] build: add uninstall hook for GSettings backend



commit 1f4573580320b744e6aaad7f7390cff84668d883
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Mar 8 12:08:13 2012 -0500

    build: add uninstall hook for GSettings backend
    
    New automake is more strict about having the install directory clean
    after 'make uninstall' during 'make distcheck'.

 gsettings/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index a895d53..dccdd15 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -69,4 +69,9 @@ install-data-hook:
 		$(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ;                                         \
 	fi
 
+uninstall-hook:
+	if test -z "$(DESTDIR)" -a "$(GIO_QUERYMODULES)" != "no" ; then                         \
+		$(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ;                                         \
+	fi
+
 CLEANFILES = $(autostart_DATA)



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