virli/tutorial/4/Makefile

28 lines
697 B
Makefile
Raw Normal View History

2017-11-09 00:30:41 +00:00
SOURCES_TUTO = tutorial.md setup.md cmpns.md docker-exec.md mountns.md rendu.md
SOURCES_LESSON = lesson.md mount.md namespaces.md networkns.md pidns.md userns.md
2015-10-29 04:45:40 +00:00
PANDOCOPTS = --latex-engine=xelatex \
--standalone \
--normalize \
--number-sections \
2016-10-19 03:24:05 +00:00
--smart \
2017-10-16 21:01:53 +00:00
-M lang=fr-FR \
2015-10-29 04:45:40 +00:00
-M fontsize=12pt \
-M papersize=a4paper \
2016-10-19 03:24:05 +00:00
-M mainfont="Linux Libertine O" \
2017-10-15 20:30:48 +00:00
-M monofont="FantasqueSansMono-Regular" \
2016-10-19 03:24:05 +00:00
-M sansfont="Linux Biolinum O" \
--include-in-header=../header.tex
2015-10-29 04:45:40 +00:00
2017-11-09 00:30:41 +00:00
all: lesson.pdf tutorial.pdf
lesson.pdf: ${SOURCES_LESSON}
pandoc ${PANDOCOPTS} -o $@ $+
2015-10-29 04:45:40 +00:00
2017-11-09 00:30:41 +00:00
tutorial.pdf: ${SOURCES_TUTO}
2015-10-29 04:45:40 +00:00
pandoc ${PANDOCOPTS} -o $@ $+
clean::
2017-11-09 00:30:41 +00:00
rm lesson.pdf tutorial.pdf