Skip to content

Commit

Permalink
doc/demo: add Makefile to build imgs from session cast
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Nov 21, 2019
1 parent a0de177 commit 14f6e77
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
/compat
/doc/build
/doc/source/version.py
/doc/demo/*/*.svg
/www/tcl
/www/docs
/modules-*.tar
Expand Down
11 changes: 11 additions & 0 deletions doc/demo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.PHONY: clean

imgs := $(patsubst %.cast,%.svg,$(wildcard */*.cast))

all: $(imgs)

%.svg: %.cast
svg-term --out $@ <$<

clean:
rm -f $(imgs)

0 comments on commit 14f6e77

Please sign in to comment.