diff options
author | Yaroslav Shmelev <yars068@yandex.ru> | 2016-01-22 08:27:24 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-01-22 13:32:07 +0100 |
commit | 5dcf92a112a010e67b6fc58dbd0b39cec8e823d6 (patch) | |
tree | 2a511b277b1c80955eaac0e4be9c2e73acbae045 /monitor/gphoto2 | |
parent | 584a43d0a26813406e49d978ea517968d01b16d8 (diff) | |
download | gvfs-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 'monitor/gphoto2')
-rw-r--r-- | monitor/gphoto2/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/gphoto2/Makefile.am b/monitor/gphoto2/Makefile.am index 723fbbc3..0cd8e1b1 100644 --- a/monitor/gphoto2/Makefile.am +++ b/monitor/gphoto2/Makefile.am @@ -77,9 +77,10 @@ servicedir = $(datadir)/dbus-1/services service_in_files = org.gtk.vfs.GPhoto2VolumeMonitor.service.in service_DATA = $(service_in_files:.service.in=.service) -systemd_userdir = ${prefix}/lib/systemd/user systemd_user_in_files = gvfs-gphoto2-volume-monitor.service.in +if USE_SYSTEMD_USER_UNITS systemd_user_DATA = $(systemd_user_in_files:.service.in=.service) +endif $(service_DATA): $(service_in_files) Makefile $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ |