osmo-smlc/doc/Makefile.am

21 lines
260 B
Makefile

SUBDIRS = \
examples \
manuals \
$(NULL)
msc: \
$(NULL)
dot: \
$(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