aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: ca0470d019205613c7c14cf0a2d0c61ae717d3a3 (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
SUBDIRS = \
	examples \
	$(NULL)

msc: \
	$(builddir)/handover.png \
	$(builddir)/assignment.png \
	$(builddir)/lchan-release.png \
	$(builddir)/ms-channel-request.png \
	$(builddir)/timeslot.png \
	$(builddir)/lchan.png \
	$(builddir)/ts-and-lchan-fsm-lifecycle.png \
	$(builddir)/handover-inter-bsc-mo.png \
	$(builddir)/handover-inter-bsc-mt.png \
	$(NULL)

dot: \
	$(builddir)/timeslot-fsm.png \
	$(builddir)/lchan-fsm.png \
	$(NULL)

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

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

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