summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: ba90512eaa8d0f545e1fb1178d369e82592a303d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dbus_servicesdir = $(datadir)/dbus-1/system-services
dbus_confdir = $(sysconfdir)/dbus-1/system.d
introspectiondir = $(datadir)/dbus-1/interfaces
polkit_actionsdir = $(datadir)//polkit-1/actions

libexec_PROGRAMS = slack-timedate

INCLUDES = $(GDBUS_CFLAGS)

slack_timedate_SOURCES = slack-timedate.c slack-timedate.h
slack_timedate_LDADD = $(GDBUS_LIBS)

dbus_services_DATA = org.freedesktop.timedate1.service
$(dbus_services_DATA): org.freedesktop.timedate1.service.in
	$(AM_V_GEN)sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
dbus_conf_DATA = org.freedesktop.timedate1.conf

introspection_DATA = org.freedesktop.timedate1.xml
polkit_actions_DATA = org.freedesktop.timedate1.policy

EXTRA_DIST = \
	$(dbus_services_DATA) \
	$(dbus_conf_DATA) \
	$(introspection_DATA) \
	$(polkit_actions_DATA)

CLEANFILES = \
	org.freedesktop.timedate1.service