summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-10-12 16:36:36 +0530
committerArun Isaac2021-10-12 16:41:27 +0530
commitcdf7a7e16bee0b15c946aa2b37351e0f01e3cecc (patch)
tree6f963053d44ef51276230a6139ce8b0ec437da92
parentb47e6fdbe7e8550dd10eee077278d0007137f37f (diff)
downloadccwl-cdf7a7e16bee0b15c946aa2b37351e0f01e3cecc.tar.gz
ccwl-cdf7a7e16bee0b15c946aa2b37351e0f01e3cecc.tar.lz
ccwl-cdf7a7e16bee0b15c946aa2b37351e0f01e3cecc.zip
Makefile: Use ccwl to generate graphviz graph.
* Makefile.am (%.dot): Use ccwl to build %.dot from %.scm instead of cwltool to build %.dot from %.cwl.
-rw-r--r--Makefile.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index dd5d638..083830a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -128,10 +128,9 @@ doc/hello.tar.out: doc/hello.tar
echo "$$ tar --list --file $(notdir $<)" > $@
tar --list --file $< >> $@
-# Print out graph for graphviz's dot, but remove file path prefix from
-# workflow step identifiers.
-%.dot: %.cwl
- $(CWLTOOL_GEN)$(CWLTOOL) --print-dot $< | $(SED) 's/file:[^#]*#//g' > $@
+# Print out graph for graphviz's dot.
+%.dot: %.scm
+ $(CCWL_GEN)$(builddir)/pre-inst-env ccwl compile --to=graphviz $< > $@
%.png: %.dot
$(DOT_GEN)$(DOT) -Tpng -o$@ $<