blob: c0b692966322d759b8295150c4a55ad58bd22c4c (
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
|
# Telepathy manager file
managerdir = $(datadir)/telepathy/managers
manager_DATA = salut.manager
# Dbus service file
servicedir = $(DBUS_SERVICES_DIR)
service_in_files = org.freedesktop.Telepathy.ConnectionManager.salut.service.in
service_DATA = $(service_in_files:.service.in=.service)
BUILT_FILES = $(service_DATA) $(manager_DATA)
CLEANFILES = $(BUILT_FILES)
EXTRA_DIST = $(service_in_files)
# Rule to make the service file with bindir expanded
$(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
$(manager_DATA): always-build
$(MAKE) -C ../src write-mgr-file
../src/write-mgr-file > $@
.PHONY: always-build
|