Makefile adapted to changed pdf filename (changed title)

This commit is contained in:
Gulliver 2021-08-15 14:27:15 +02:00
parent 8dd38b146a
commit f7315464fe

View File

@ -2,6 +2,9 @@
all: mdbook crowbook sphinx all: mdbook crowbook sphinx
clean:
-rm -rf sphinx/build/*
mdbook: mdbook:
-mdbook build mdbook -mdbook build mdbook
-cd mdbook; RUST_BACKTRACE=1 mdbook-epub --standalone -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.epub bundle/crowbook_wtf-handbook.epub
cp crowbook/wtf-handbook.pdf bundle/crowbook_wtf-handbook.pdf cp crowbook/wtf-handbook.pdf bundle/crowbook_wtf-handbook.pdf
cp crowbook/wtf-handbook.html bundle/crowbook_wtf_handbook.html cp crowbook/wtf-handbook.html bundle/crowbook_wtf_handbook.html
cp sphinx/build/epub/DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub cp sphinx/build/epub/RTFM-DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub
cp sphinx/build/latex/dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf cp sphinx/build/latex/rtfm-dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf
rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html