2017-08-25 07:15:26 +02:00
|
|
|
#!/bin/bash
|
2018-11-27 10:04:26 +01:00
|
|
|
echo "1/4 html"
|
2021-02-28 10:40:47 +01:00
|
|
|
npx honkit build
|
2018-11-27 10:04:26 +01:00
|
|
|
echo "2/4 pdf"
|
2021-02-28 10:40:47 +01:00
|
|
|
npx honkit pdf
|
2018-11-27 10:04:26 +01:00
|
|
|
echo "3/4 epub"
|
2021-02-28 10:40:47 +01:00
|
|
|
npx honkit epub
|
2018-11-27 10:04:26 +01:00
|
|
|
echo "4/4 mobi"
|
2021-02-28 10:40:47 +01:00
|
|
|
npx honkit mobi
|
2018-11-27 10:04:26 +01:00
|
|
|
echo "Done"
|
2018-10-29 08:29:10 +01:00
|
|
|
mv book.pdf _book
|
|
|
|
mv book.epub _book
|
|
|
|
mv book.mobi _book
|
2018-11-01 16:30:38 +01:00
|
|
|
chmod +r _book/book.pdf _book/book.epub _book/book.mobi
|
2017-08-25 07:15:26 +02:00
|
|
|
cd _book
|
2021-02-28 13:37:52 +01:00
|
|
|
rsync -azv . circl@cpab.circl.lu:/var/www/nwww.circl.lu/doc/misp/ && rm -rf _book
|