summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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$@ $<