charts: Makefile: add '%.ladder' to '%.msc' rule

This commit is contained in:
Neels Hofmeyr 2019-10-21 02:41:59 +02:00
parent f31a1ccd9a
commit 98def3a6aa
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ dot: \
$(builddir)/%.png: %.msc
mscgen -T png -o $@ $<
$(builddir)/%.msc: $(srcdir)/%.ladder
@which ladder_to_msc.py || (echo 'PLEASE POINT YOUR $$PATH AT libosmocore/contrib/ladder_to_msc.py' && false)
ladder_to_msc.py -i $< -o $@
$(builddir)/%.png: $(srcdir)/%.dot
dot -Tpng $< > $@