summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: 3504d6441bd0bf6480c32664859cd2d972da7c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EXTRA_DIST = salut.service.in

managerdir = $(datadir)/telepathy/managers
manager_DATA = salut.manager

servicedir = $(datadir)/dbus-1/services
service_DATA = org.freedesktop.Telepathy.ConnectionManager.salut.service

# We don't use the full filename for the .in because > 99 character filenames
# in tarballs are non-portable (and automake 1.8 doesn't let us build
# non-archaic tarballs)
org.freedesktop.Telepathy.ConnectionManager.salut.service: salut.service.in \
		Makefile
	@sed -e "s|[@]libexecdir[@]|$(libexecdir)|" $< > $@

CLEANFILES = $(service_DATA) $(manager_DATA)

$(manager_DATA): always-build
	$(MAKE) -C ../src write-mgr-file
	../src/write-mgr-file > $@

.PHONY: always-build