all: jasmina.html jasmina.epub
fb2: jasmina.fb2.zip
pdf: jasmina.pdf
all.mdwn: order.lst $(wildcard *.txt)
for i in `cat order.lst`; do sed 's//*(Фрагмент недописан)*/' "$$i"; echo ""; done > $@
jasmina.html: all.mdwn
pandoc -t html --toc -s all.mdwn -o jasmina.html
jasmina.epub: all.mdwn
pandoc -t epub -s all.mdwn -o jasmina.epub
jasmina.fb2.zip: jasmina.fb2
zip $@ $+
jasmina.fb2: all.mdwn
pandoc -t fb2 -s -V language=ru all.mdwn -o jasmina.fb2
jasmina.pdf: preamble.tex all.tex
pdflatex preamble.tex
pdflatex preamble.tex
all.tex: all.mdwn
pandoc -o all.tex all.mdwn