summaryrefslogtreecommitdiff
path: root/tests/twisted/tools/Makefile.am
blob: 463a5b819887e6c6d33fc515200c8f6a5e846846 (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
29
30
31
32
33
34
35
36
37
38
39
40
exec-with-log.sh: exec-with-log.sh.in Makefile
	$(AM_V_GEN)sed -e "s|[@]abs_top_srcdir[@]|@abs_top_srcdir@|g" \
		-e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" \
		$< > $@
	$(AM_V_at)chmod +x $@

%.conf: %.conf.in
	$(AM_V_GEN)sed -e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" $< > $@

# 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.%.service: %.service.in
	$(AM_V_GEN)sed \
		-e "s|[@]abs_top_srcdir[@]|@abs_top_srcdir@|g" \
		-e "s|[@]abs_top_builddir[@]|@abs_top_builddir@|g" \
		$< > $@

# D-Bus service file for testing
service_in_files = MissionControl5.service.in Client.AbiWord.service.in Client.Logger.service.in
service_files = $(patsubst %.in,org.freedesktop.Telepathy.%, $(service_in_files))

# D-Bus config file for testing
conf_in_files = tmp-session-bus.conf.in
conf_files = $(conf_in_files:.conf.in=.conf)

BUILT_SOURCES = $(service_files) $(conf_files) exec-with-log.sh

EXTRA_DIST = \
	$(service_in_files) \
	$(conf_in_files) \
	exec-with-log.sh.in \
	fake-startup.sh \
	valgrind.supp \
	with-session-bus.sh

CLEANFILES = \
    $(BUILT_SOURCES) \
    missioncontrol.log \
    missioncontrol-*.log