This repository has been archived on 2024-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
cs763/website/Makefile

18 lines
378 B
Makefile
Raw Normal View History

2018-08-03 22:09:20 +00:00
DEPLOY=driftless:/u/j/u/justhsu/public/html-s/teaching/current/cs839
# DEPLOY=jackknife:/home/justhsu/html/staging/cs839/
2018-07-21 20:34:26 +00:00
build:
mkdocs build
preview:
mkdocs serve
install:
pip install mkdocs mkdocs-material pymdown-extensions
deploy:
make build
find . -type d -exec chmod a+rx {} \;
find . -type f -exec chmod a+r {} \;
rsync -avzp --delete -e ssh ./site/ $(DEPLOY)