1
0
This commit is contained in:
dump_stack() 2019-08-28 10:30:36 +00:00
parent 679f71a941
commit ff8305b828
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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