(re)construction des outils pour générer lespiedsdanslecode.org

This commit is contained in:
2026-01-23 23:09:06 +01:00
parent 7ffbce5cfc
commit 869ec805ee
14 changed files with 1070 additions and 1 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
PANDOC := $(shell command -v pandoc 2> /dev/null)
all:
ifndef PANDOC
$(error "pandoc is not available please install pandoc")
endif
build: ## Construit le site
./pana.sh
deploy: ## déploie le site
git push && rsync -avz content/ elsif@ssh-elsif.alwaysdata.net:www/
run: ## démarre un serveur local
python3 -m http.server 8000 --bind 127.0.0.1 --directory content/