1
0

Add fb2 target

This commit is contained in:
dump_stack() 2019-08-27 23:41:15 +00:00
parent ad66a5c718
commit 75d3d1c683
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -1,7 +1,15 @@
all: translators version time all: pdf fb2
pdf: metadata
rubber -m xelatex faif-2.0.tex rubber -m xelatex faif-2.0.tex
cp faif-2.0.pdf faif-2.0-$(shell git describe --abbrev=0 --tags).pdf cp faif-2.0.pdf faif-2.0-$(shell git describe --abbrev=0 --tags).pdf
fb2: metadata
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
metadata: translators version time
open: all open: all
xdg-open faif-2.0.pdf xdg-open faif-2.0.pdf