From ef37d8f0e5391a6c955e5c77816b182d5f6ee824 Mon Sep 17 00:00:00 2001
From: Sam Tygier <samtygier@yahoo.co.uk>
Date: Sat, 24 Dec 2011 20:03:14 +0000
Subject: Use MATECONFTOOL in makefile. Without this install fails if PATH for
 sudo does not contain install prefixed bin.

---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/Makefile.am b/src/Makefile.am
index 8794e47..fb22e4b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -63,7 +63,7 @@ install-data-local:
 	if test -z "$(DESTDIR)"; then \
 	  for p in $(schema_DATA); do \
 	    MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) \
-	      mateconftool-2 --makefile-install-rule $(top_builddir)/src/$$p; \
+	      ${MATECONFTOOL} --makefile-install-rule $(top_builddir)/src/$$p; \
 	  done; \
 	fi
 else
-- 
cgit v1.2.1