diff --git a/Makefile b/Makefile index 5195e2e..53cfd90 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ artifacts/deps.pdf: deps.dot Makefile mkdir -p $$(dirname $@) dot -Tpdf $< > $@ -artifacts/index.html: doc-src/index.html artifacts/style.css artifacts/deps.svg artifacts/deps.png artifacts/deps.pdf artifacts/references/index.html Makefile +artifacts/index.html: doc-src/index.html artifacts/style.css artifacts/deps.svg artifacts/deps.png artifacts/deps.pdf artifacts/references/index.html artifacts/open-tasks/index.html Makefile mkdir -p $$(dirname $@) cp doc-src/index.html $@ @@ -35,3 +35,8 @@ artifacts/references/style.css: doc-src/style.css Makefile micro-scheme/test-result: micro-scheme/nano-scheme.sh Makefile mkdir -p $$(dirname $@) sh $< > $@ + +.PHONY: artifacts/open-tasks/index.html +artifacts/open-tasks/index.html: Makefile + mkdir -p $$(dirname $@) + tests/to-do/list-to-dos.sh > $@ diff --git a/doc-src/index.html b/doc-src/index.html index 2be7c4c..83c6e8d 100644 --- a/doc-src/index.html +++ b/doc-src/index.html @@ -11,6 +11,7 @@ diff --git a/tests/to-do/list-to-dos.sh b/tests/to-do/list-to-dos.sh new file mode 100755 index 0000000..dda2d4f --- /dev/null +++ b/tests/to-do/list-to-dos.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +escapehtml() { + sed -e 's/&/\&/g' \ + | sed -e 's//\>/g' \ + | sed -e 's/"/\"/g' +} + +cat <<'EOF' + + + + + {{{project-name}}} + + + +

Open tasks

+ + + +EOF