1TCLSH?= tclsh8.7 2 3all: 4 @echo "Supported targets: docs, man, test, clean" 5 6.PHONY: docs 7docs: README.adoc 8 asciidoctor -b xhtml5 -a generate_manpage=yes -a toc -d article -o docs/index.html README.adoc 9 10man: README.adoc 11 asciidoctor -b manpage -a generate_manpage=yes -o retcl.n README.adoc 12 13.PHONY: test 14test: 15 ${TCLSH} test/all.tcl 16 17clean: 18 rm -f retcl.n 19