diff --git a/Makefile b/Makefile index 27cbc0f..858fb85 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,9 @@ all: mdbook crowbook sphinx +clean: + -rm -rf sphinx/build/* + mdbook: -mdbook build mdbook -cd mdbook; RUST_BACKTRACE=1 mdbook-epub --standalone @@ -18,6 +21,6 @@ bundle: all cp crowbook/wtf-handbook.epub bundle/crowbook_wtf-handbook.epub cp crowbook/wtf-handbook.pdf bundle/crowbook_wtf-handbook.pdf cp crowbook/wtf-handbook.html bundle/crowbook_wtf_handbook.html - cp sphinx/build/epub/DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub - cp sphinx/build/latex/dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf + cp sphinx/build/epub/RTFM-DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub + cp sphinx/build/latex/rtfm-dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html