aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-10-21 02:41:59 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-02-10 11:45:42 +0100
commitef8470714ccbb3519dc4daf01dcaf5b6815a2973 (patch)
tree4196ffc635bbd5f33546d58ba280cda1eac13aa1
parent54de7929729018ac1d513ce51a335c7e0d3cd068 (diff)
charts: Makefile: add '%.ladder' to '%.msc' rule
-rw-r--r--doc/sequence_charts/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sequence_charts/Makefile.am b/doc/sequence_charts/Makefile.am
index 6782f44e7..41890a7ac 100644
--- a/doc/sequence_charts/Makefile.am
+++ b/doc/sequence_charts/Makefile.am
@@ -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 $< > $@