diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-10-21 02:41:59 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-01-08 23:37:37 +0100 |
commit | 98def3a6aaf2635a017b2e50faf0ea66a1195d0e (patch) | |
tree | af4b89eab3b1282a80bb016c4208f80deeb863ca /doc | |
parent | f31a1ccd9a3eb474936f5b946287581514b29436 (diff) |
charts: Makefile: add '%.ladder' to '%.msc' rule
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sequence_charts/Makefile.am | 4 |
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 $< > $@ |