From 3e0c9ff63ab5a03f153950bc38579898c076c1c8 Mon Sep 17 00:00:00 2001 From: Gulliver Date: Sun, 15 Aug 2021 14:27:15 +0200 Subject: [PATCH] Makefile adapted to changed pdf filename (changed title) --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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