From 75d3d1c683853d98de459614e970d0dedc56bd8c Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 27 Aug 2019 23:41:15 +0000 Subject: [PATCH] Add fb2 target --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc126ce..00a1606 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,15 @@ -all: translators version time +all: pdf fb2 + +pdf: metadata rubber -m xelatex faif-2.0.tex 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 xdg-open faif-2.0.pdf