aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2a4029d..dcd9a2c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
-.PHONY: upload
+.PHONY: upload default
-README.html: README.md
- pandoc --mathml -so README.html -c style.css README.md
+default: language_description.html
-upload: README.html style.css
- rsync --mkpath README.html style.css runxiyu.org:/var/www/docs/e2/
+.SUFFIXES: .md .html
+
+.md.html:
+ pandoc --mathml -so $@ -c style.css $<
+
+upload: language_description.html style.css
+ rsync --mkpath language_description.html style.css runxiyu.org:/var/www/docs/e2/