From cdf7a7e16bee0b15c946aa2b37351e0f01e3cecc Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 12 Oct 2021 16:36:36 +0530 Subject: 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. --- Makefile.am | 7 +++---- 1 file 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$@ $< -- cgit v1.2.3