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