summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--data/Makefile.am2
2 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a20f9ab..87aed9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,6 +129,7 @@ AC_ARG_ENABLE(packagekit,
if test "x$enable_packagekit" != "xno"; then
AC_DEFINE(ENABLE_PACKAGEKIT, 1, [define to enable PackageKit installer])
fi
+AM_CONDITIONAL(ENABLE_PACKAGEKIT, test x"$enable_packagekit" != x"no")
dnl ******************************
diff --git a/data/Makefile.am b/data/Makefile.am
index 76b4d4b..3210fc3 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,8 +11,10 @@ else
$(AM_V_GEN) sed '/^# Translators/d' < $< > $@
endif
+if ENABLE_PACKAGEKIT
matchdir = $(datadir)/engrampa
match_DATA = packages.match
+endif
servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.Engrampa.service.in