use spaces to align

This commit is contained in:
Michele Guerini Rocco 2017-09-19 16:01:30 +02:00
parent 1be7f2e8a4
commit d253f43de1
Signed by: rnhmjoj
GPG Key ID: 91BE884FBA4B591A

View File

@ -8,30 +8,30 @@ chapters = $(shell find $(src)/part-* -name '*.html' | sort -V)
all: $(title).epub $(title).pdf
$(title).pdf:
@ cd $(src)/init; \
pandoc \
$(src)/init/preface.html \
$(chapters) \
--smart \
--toc \
--number-section \
--latex-engine=xelatex \
--data-dir=$(root)/pandoc \
-H $(root)/pandoc/options.tex \
-o $(root)/$(title).pdf
@ cd $(src)/init; \
pandoc \
$(src)/init/preface.html \
$(chapters) \
--smart \
--toc \
--number-section \
--latex-engine=xelatex \
--data-dir=$(root)/pandoc \
-H $(root)/pandoc/options.tex \
-o $(root)/$(title).pdf
$(title).epub:
@ cd $(src)/init; \
pandoc \
$(src)/init/preface.html \
$(chapters) \
--smart \
--toc \
--number-section \
--epub-stylesheet=$(root)/pandoc/style.css \
--epub-cover-image=$(root)/pandoc/cover.png \
--epub-embed-font='$(src)/fonts/*.woff' \
-o $(root)/$(title).epub
@ cd $(src)/init; \
pandoc \
$(src)/init/preface.html \
$(chapters) \
--smart \
--toc \
--number-section \
--epub-stylesheet=$(root)/pandoc/style.css \
--epub-cover-image=$(root)/pandoc/cover.png \
--epub-embed-font='$(src)/fonts/*.woff' \
-o $(root)/$(title).epub
clean:
rm $(root)/$(title).{pdf,epub}