summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-03-08 12:08:13 -0500
committerRyan Lortie <desrt@desrt.ca>2012-03-08 12:08:13 -0500
commit1f4573580320b744e6aaad7f7390cff84668d883 (patch)
treebf5595e4f5e18a69ef1f733e83d29733900c587a
parentc35ac7aff8f035710b3fbbee4fe34461cc78681e (diff)
downloadgconf-1f4573580320b744e6aaad7f7390cff84668d883.tar.gz
build: add uninstall hook for GSettings backend
New automake is more strict about having the install directory clean after 'make uninstall' during 'make distcheck'.
-rw-r--r--gsettings/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index a895d53a..dccdd15b 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)