diff --git a/Makefile b/Makefile index 6abeda7..4860b7d 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,18 @@ build-pptx: build-html: marp src/index.md --allow-local-files -o build/index.html + cp -rv src/assets build clean: test -f build/index.html && rm build/index.html || true test -f build/slides.pdf && rm build/slides.pdf || true test -f build/slides.pptx && rm build/slides.pptx || true + test -d build/assets && rm -fr build/assets || true build: build-html build-pdf build-pptx + test -f build/html.tar.gz && rm build/html.tar.gz || true + tar cvf build/html.tar build/index.html build/assets + gzip -9 build/html.tar serve: marp --allow-local-files -w -s ./src