From 3377fb9ba36800fd3f40616e3906d0f22228c740 Mon Sep 17 00:00:00 2001
From: Runxi Yu <me@runxiyu.org>
Date: Thu, 5 Dec 2024 20:51:59 +0800
Subject: New repo locations and file structure

---
 Makefile | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

(limited to 'Makefile')

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/
-- 
cgit v1.2.3