aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-10-21 02:41:59 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2019-12-23 19:02:34 +0100
commitf90aa2eb10519bee06c4a9a96963adc23d42c1df (patch)
tree1678a41f0259f8c8332abe30aa3b571ae089aa79
parent4efbcbf9dff8fe7c90f1d46b4f070c590eb1ae3e (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 $< > $@