summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-05 13:58:15 +0100
committerraveit65 <[email protected]>2021-02-27 10:01:22 +0100
commit9e050a5d47de07f0b5a661c8421a808c4b28d9db (patch)
tree5dbe2575b6bdb0a93f879f1d9ba285c75c09a84b
parent9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f (diff)
downloadengrampa-9e050a5d47de07f0b5a661c8421a808c4b28d9db.tar.bz2
engrampa-9e050a5d47de07f0b5a661c8421a808c4b28d9db.tar.xz
build: Don't install packages.match when packagekit is disabled
-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