aboutsummaryrefslogtreecommitdiffstats
path: root/doc/sequence_charts/Makefile.am
blob: c119458b8b674eacebc074c0256e93e876cd9f24 (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
all:
	echo "built only on manual invocation, needs mscgen and dot (graphviz) programs: invoke 'make charts'"

charts: msc dot

EXTRA_DIST = \
	$(srcdir)/*.msc \
	$(NULL)

CLEANFILES = \
	$(builddir)/*.png \
	$(NULL)

msc: \
	$(builddir)/mncc_call_fsm.png \
	$(builddir)/inter_bsc_ho.png \
	$(builddir)/inter_msc_ho.png \
	$(builddir)/voice_call_full.png \
	$(builddir)/call_reestablishment.png \
	$(NULL)

dot: \
	$(NULL)

$(builddir)/%.png: %.msc
	mscgen -T png -o $@ $<

$(builddir)/%.png: $(srcdir)/%.dot
	dot -Tpng $< > $@

.PHONY: poll
poll:
	while true; do $(MAKE) msc dot; sleep 1; done