summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: b949137eba691d8e45c5076b6a4902f44449c5f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Telepathy manager file
managerdir = $(datadir)/telepathy/managers
manager_DATA = idle.manager

# Dbus service file
BUILT_FILES = $(service_in_files:.service.in=.service)

servicedir = $(DBUS_SERVICES_DIR)
service_in_files = org.freedesktop.Telepathy.ConnectionManager.idle.service.in
service_DATA = $(BUILT_FILES)
CLEANFILES = $(BUILT_FILES)

# Rule to make the service file with libexecdir expanded
$(service_DATA): $(service_in_files) Makefile
	@sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

EXTRA_DIST= \
	${service_in_files} \
	${manager_DATA}