summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorOhad Kammar <ohad.kammar@ed.ac.uk>2022-08-07 18:23:04 +0100
committerOhad Kammar <ohad.kammar@ed.ac.uk>2022-08-07 18:23:04 +0100
commitefd5f75c0672773341b5ca1c1d4b2ad0c0d09daa (patch)
treee22ef47d908efd30f985d47e6abfa53d6c6189b5 /doc/Makefile
Initial version
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..caaf4af
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,12 @@
+all: Tutorial.md
+
+.PHONY: all ttms
+
+ttms:
+ pack build setoid-doc.ipkg
+
+%.md: .PHONY
+ pack run katla markdown sources/$*.md ./build/ttc/$*.ttm > $*.md
+
+install-deps:
+ pack install-deps setoid-doc.ipkg