add first makefile
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
watch:
|
||||
./watch_compile.sh
|
||||
|
||||
html:
|
||||
./scripts/slides_to_html.sh slides.md
|
||||
|
||||
pdf:
|
||||
./scripts/slides_to_pdf.sh slides.md
|
||||
|
||||
serve_html: html
|
||||
ln -b -s `pwd`/templates/custom.css `pwd`/html/custom.css
|
||||
ln -b -s `pwd`/medias `pwd`/html/medias
|
||||
ln -b -s `pwd`/html/slides.html `pwd`/html/index.html
|
||||
python -m http.server --directory html 7777
|
||||
|
||||
clean:
|
||||
rm -rf html/*
|
||||
Reference in New Issue
Block a user