all result are copied into one (bundle) dir as make target

This commit is contained in:
Gulliver 2021-08-01 18:14:46 +02:00
parent de02462517
commit d7f2b8e824

View File

@ -12,11 +12,12 @@ crowbook:
sphinx: sphinx:
$(MAKE) -C sphinx singlehtml epub latexpdf $(MAKE) -C sphinx singlehtml epub latexpdf
bundle: bundle: all
-mkdir bundle -mkdir bundle
cp mdbook/book/epub/RTFM\ -\ Das\ WTF\ Kooperative\ Handbuch.epub bundle/mdbook_RTFM\ -\ Das\ WTF\ Kooperative\ Handbuch.epub 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.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/DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub
cp sphinx/build/latex/dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf
rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html