#!/bin/sh

FILES='
introduction.md

08_2012.md
09_2012.md
10_2012.md
11_2012.md
12_2012.md

01_2013.md
02_2013.md
03_2013.md
04_2013.md
05_2013.md
06_2013.md
07_2013.md
08_2013.md
09_2013.md
10_2013.md
11_2013.md
12_2013.md

01_2014.md
02_2014.md
03_2014.md
04_2014.md
05_2014.md
06_2014.md
07_2014.md
09_2014.md
11_2014.md

remainder.md

my_story.md
oguigui-starter.md
reddit-ama-2019.md
within.md
'

pandoc -o project-koomer.epub --epub-chapter-level=1 title.txt $FILES
kindlegen project-koomer.epub
mkdir -p ../book
cp ./project-koomer.mobi ../book
cp ./project-koomer.epub ../book
cd .. && mdbook build

