Makefile
changeset 0 22b133b3041b
child 1 81355bae626f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue Mar 24 15:35:36 2015 +0100
@@ -0,0 +1,12 @@
+doc = sichere-email
+
+txt = ${doc}.txt
+html = out.html/${doc}.html
+
+date = ${shell date -I}
+revision = "${shell hg id -tibB}"
+
+${html}: 	${txt}
+	@mkdir -p ${dir $@}
+	asciidoc -a data-uri -a icons -a date=${date} \
+		-a revision=$(revision) -o $@ ${txt}