2021-08-01 09:18:23 +02:00
|
|
|
.PHONY: mdbook crowbook sphinx bundle
|
|
|
|
|
|
|
|
all: mdbook crowbook sphinx
|
|
|
|
|
2021-08-15 14:27:15 +02:00
|
|
|
clean:
|
|
|
|
-rm -rf sphinx/build/*
|
|
|
|
|
2021-08-01 09:18:23 +02:00
|
|
|
mdbook:
|
|
|
|
-mdbook build mdbook
|
|
|
|
-cd mdbook; RUST_BACKTRACE=1 mdbook-epub --standalone
|
|
|
|
|
|
|
|
crowbook:
|
|
|
|
crowbook crowbook/wtf-handbook.book
|
|
|
|
|
|
|
|
sphinx:
|
|
|
|
$(MAKE) -C sphinx singlehtml epub latexpdf
|
|
|
|
|
2021-08-01 18:14:46 +02:00
|
|
|
bundle: all
|
2021-08-01 09:18:23 +02:00
|
|
|
-mkdir bundle
|
|
|
|
cp mdbook/book/epub/RTFM\ -\ Das\ WTF\ Kooperative\ Handbuch.epub bundle/mdbook_RTFM\ -\ Das\ WTF\ Kooperative\ Handbuch.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.html bundle/crowbook_wtf_handbook.html
|
2021-08-15 14:27:15 +02:00
|
|
|
cp sphinx/build/epub/RTFM-DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub
|
|
|
|
cp sphinx/build/latex/rtfm-dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf
|
2021-08-01 09:18:23 +02:00
|
|
|
rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html
|