Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ebooks: epub mobi
- epub: build/TheSourceOfFire.epub
- mobi: build/TheSourceOfFire.mobi
- clean:
- rm build/*.png build/*.xhtml
- build/TheSourceOfFire.mobi: build/TheSourceOfFire.xhtml
- ebook-convert build/TheSourceOfFire.xhtml build/TheSourceOfFire.mobi --cover build/cover.jpg --authors "Pete Alex Harris" --language English
- build/TheSourceOfFire.epub: build/fixed-TheSourceOfFire.xhtml
- ebook-convert build/fixed-TheSourceOfFire.xhtml build/TheSourceOfFire.epub --cover build/cover.jpg --authors "Pete Alex Harris" --language English
- epubcheck build/TheSourceOfFire.epub
- POVSVG=$(wildcard illustrations/pov-*.svg)
- POVPNG=$(patsubst illustrations/%.svg, build/%.png, $(POVSVG))
- MAPSVG=$(wildcard illustrations/*-map.svg)
- MAPPNG=$(patsubst illustrations/%.svg, build/%.png, $(MAPSVG))
- build/%.png: illustrations/%.svg
- inkscape -e $@ -d 300 $<
- build/TheSourceOfFire.xhtml: $(wildcard *.lyx) $(MAPPNG) $(POVPNG)
- lyx -E xhtml build/TheSourceOfFire.xhtml TheSourceOfFire.lyx
- build/fixed-TheSourceOfFire.xhtml: build/TheSourceOfFire.xhtml
- cd build; fixnesting --prefix='fixed-' TheSourceOfFire.xhtml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement