diff options
author | Sam Tygier <[email protected]> | 2011-12-24 20:03:14 +0000 |
---|---|---|
committer | Sam Tygier <[email protected]> | 2011-12-24 20:03:14 +0000 |
commit | ef37d8f0e5391a6c955e5c77816b182d5f6ee824 (patch) | |
tree | e52c7dd4ca05425c2ffeb583951da1b79d0b61f8 | |
parent | b7b15266d086a24e8b48868b9b1b18bc04cd6c21 (diff) | |
download | mate-system-monitor-ef37d8f0e5391a6c955e5c77816b182d5f6ee824.tar.bz2 mate-system-monitor-ef37d8f0e5391a6c955e5c77816b182d5f6ee824.tar.xz |
Use MATECONFTOOL in makefile. Without this install fails if PATH for sudo does not contain install prefixed bin.
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9ade4bf..aa002bc 100644 --- a/configure.in +++ b/configure.in @@ -64,6 +64,8 @@ fi dnl CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden $CXXFLAGS" dnl CXXFLAGS="-fvisibility-inlines-hidden $CXXFLAGS" +AC_PATH_PROG(MATECONFTOOL, mateconftool-2) + AM_MATECONF_SOURCE_2 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 |