summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorYaroslav Shmelev <yars068@yandex.ru>2016-01-22 08:27:24 +0100
committerOndrej Holy <oholy@redhat.com>2016-01-22 13:32:07 +0100
commit5dcf92a112a010e67b6fc58dbd0b39cec8e823d6 (patch)
tree2a511b277b1c80955eaac0e4be9c2e73acbae045 /metadata
parent584a43d0a26813406e49d978ea517968d01b16d8 (diff)
downloadgvfs-5dcf92a112a010e67b6fc58dbd0b39cec8e823d6.tar.gz
build: Add --with-systemduserunitdir option
This option allows maintainers to specify the directory that contain a systemd user units, or disable it. Default location for these units is /usr/lib/systemd/user. This patch will switch from hard-coded path to configurable one. The patch was modified by Ondrej Holy <oholy@redhat.com>. https://bugzilla.gnome.org/show_bug.cgi?id=760293
Diffstat (limited to 'metadata')
-rw-r--r--metadata/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/metadata/Makefile.am b/metadata/Makefile.am
index e15e40e8..b38d01b6 100644
--- a/metadata/Makefile.am
+++ b/metadata/Makefile.am
@@ -72,9 +72,10 @@ servicedir = $(DBUS_SERVICE_DIR)
service_in_files = org.gtk.vfs.Metadata.service.in
service_DATA = org.gtk.vfs.Metadata.service
-systemd_userdir = ${prefix}/lib/systemd/user
systemd_user_in_files = gvfs-metadata.service.in
+if USE_SYSTEMD_USER_UNITS
systemd_user_DATA = gvfs-metadata.service
+endif
EXTRA_DIST = \
$(service_in_files) \