Add epub
This commit is contained in:
parent
679f71a941
commit
ff8305b828
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,6 +25,7 @@
|
|||||||
*.html
|
*.html
|
||||||
*.fb2
|
*.fb2
|
||||||
*.md
|
*.md
|
||||||
|
*.epub
|
||||||
!README.md
|
!README.md
|
||||||
translators.tex
|
translators.tex
|
||||||
build-time.tex
|
build-time.tex
|
||||||
|
6
Makefile
6
Makefile
@ -1,4 +1,4 @@
|
|||||||
all: pdf fb2
|
all: pdf fb2 epub
|
||||||
|
|
||||||
pdf: metadata
|
pdf: metadata
|
||||||
rubber -m xelatex faif-2.0.tex
|
rubber -m xelatex faif-2.0.tex
|
||||||
@ -8,6 +8,10 @@ fb2: metadata
|
|||||||
pandoc -t fb2 faif-2.0.tex > faif-2.0.fb2
|
pandoc -t fb2 faif-2.0.tex > faif-2.0.fb2
|
||||||
cp faif-2.0.fb2 faif-2.0-$(shell git describe --abbrev=0 --tags).fb2
|
cp faif-2.0.fb2 faif-2.0-$(shell git describe --abbrev=0 --tags).fb2
|
||||||
|
|
||||||
|
epub: metadata
|
||||||
|
pandoc -t epub faif-2.0.tex > faif-2.0.epub
|
||||||
|
cp faif-2.0.epub faif-2.0-$(shell git describe --abbrev=0 --tags).epub
|
||||||
|
|
||||||
metadata: translators version time
|
metadata: translators version time
|
||||||
|
|
||||||
open: all
|
open: all
|
||||||
|
Loading…
Reference in New Issue
Block a user