20 lines
349 B
Bash
20 lines
349 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
FILES='
|
||
|
intro.md
|
||
|
CHANGELOG.md
|
||
|
|
||
|
guia-basica-de-meditacion.md
|
||
|
guia-de-faq-man.md
|
||
|
'
|
||
|
|
||
|
pandoc -o tulpanomicon-es.epub \
|
||
|
--epub-chapter-level=2 \
|
||
|
--resource-path=. \
|
||
|
title.txt \
|
||
|
$FILES
|
||
|
kindlegen tulpanomicon-es.epub
|
||
|
cp -vrf tulpanomicon-es.mobi ../book/
|
||
|
cp -vrf tulpanomicon-es.epub ../book/
|
||
|
cd .. && mdbook build
|