diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-05 21:18:20 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-05 21:18:20 +0800 |
commit | 76c54c7a2a66fb251e568e3d648d193efe11eae9 (patch) | |
tree | 492ad87666a413dba735bfd70c7068d3043736fd /Makefile | |
parent | New repo locations and file structure (diff) | |
download | e2-spec-76c54c7a2a66fb251e568e3d648d193efe11eae9.tar.gz e2-spec-76c54c7a2a66fb251e568e3d648d193efe11eae9.tar.zst e2-spec-76c54c7a2a66fb251e568e3d648d193efe11eae9.zip |
Another round of README updates :/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,11 +1,18 @@ +# GNU Make is required + .PHONY: upload default -default: language_description.html +default: build/language_description.html build/index.html build/style.css .SUFFIXES: .md .html -.md.html: +build/%.html: %.md + mkdir -p build 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/ +build/%.css: %.css + mkdir -p build + cp $< $@ + +upload: + rsync --delete-after --recursive --mkpath build/ runxiyu.org:/var/www/docs/e2/ |