aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-05 20:51:59 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-05 20:51:59 +0800
commit3377fb9ba36800fd3f40616e3906d0f22228c740 (patch)
tree0fee14fc1518b61d384ec79c549fc56e3de8f109 /Makefile
parente2 in plain text (diff)
downloade2-spec-3377fb9ba36800fd3f40616e3906d0f22228c740.tar.gz
e2-spec-3377fb9ba36800fd3f40616e3906d0f22228c740.tar.zst
e2-spec-3377fb9ba36800fd3f40616e3906d0f22228c740.zip
New repo locations and file structure
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/