Commit 07e011d1 authored by Benoit Rat's avatar Benoit Rat

doc: adding verbose option in Makefile to improve finding latex errors

parent 8456cf44
...@@ -23,7 +23,7 @@ PDF=$(addprefix pdf/, $(SRC:.md=.pdf)) ...@@ -23,7 +23,7 @@ PDF=$(addprefix pdf/, $(SRC:.md=.pdf))
TEX=$(SRC:.md=.tex) TEX=$(SRC:.md=.tex)
## Pandoc arguments ## Pandoc arguments
OPTIONS=-s --from markdown+yaml_metadata_block --toc --number-sections --smart OPTIONS?=-s --from markdown+yaml_metadata_block --toc --number-sections --smart
TEMPLATE=pandoc.latex TEMPLATE=pandoc.latex
...@@ -42,6 +42,9 @@ DATE = $(shell date +"%d %b. %Y") ...@@ -42,6 +42,9 @@ DATE = $(shell date +"%d %b. %Y")
all: $(PDF) all: $(PDF)
tex: $(TEX) tex: $(TEX)
pdf: $(PDF) pdf: $(PDF)
verbose:
make OPTIONS="-s --from markdown+yaml_metadata_block --toc --number-sections --smart --verbose" -C . pdf
## Special targets to create directory ## Special targets to create directory
DIR_%: DIR_%:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment