aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-10-21 02:41:59 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-07-29 22:40:59 +0200
commit39f47a65dd262d3836da9d475b1033a38c50db8b (patch)
tree8fae0744220e6631b49cd4d4ad87e0cd552131ff
parentae98b97382285420ba81549bc874b9fea5e7daa9 (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 5efe8558b..4a55b12c9 100644
--- a/doc/sequence_charts/Makefile.am
+++ b/doc/sequence_charts/Makefile.am
@@ -31,6 +31,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 $< > $@