From 70049782e787faf3f6c0f54ca8b93d0bc83437ba Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 4 Jul 2021 23:37:36 +0530 Subject: doc: Use PNG images instead of SVG. PNG images are supported by both the info and html engines. * doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Use PNG images instead of SVG. * Makefile.am (CLEANFILES): Replace doc/*.svg with doc/*.png. (%.svg): Delete rule. (%.png): New rule. * .gitignore: Replace doc/*.svg with doc/*.png. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index ac921b5..e4c562a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -94,7 +94,7 @@ EXTRA_DIST += \ include .depends -CLEANFILES += doc/*.cwl doc/%.dot doc/*.svg +CLEANFILES += doc/*.cwl doc/%.dot doc/*.png %.cwl: %.scm $(CCWL_GEN)$(builddir)/pre-inst-env ccwl compile $< > $@ @@ -104,8 +104,8 @@ CLEANFILES += doc/*.cwl doc/%.dot doc/*.svg %.dot: %.cwl $(CWLTOOL_GEN)$(CWLTOOL) --print-dot $< | $(SED) 's/file:[^#]*#//g' > $@ -%.svg: %.dot - $(DOT_GEN)$(DOT) -Tsvg -o$@ $< +%.png: %.dot + $(DOT_GEN)$(DOT) -Tpng -o$@ $< # The info and html targets depend on the info-local and html-local # targets respectively. So, we use them to extend the info and html -- cgit v1.2.3