virli/tutorial/4/Makefile

31 lines
788 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
2018-11-06 13:44:59 +00:00
SOURCES_LESSON = lesson.md mount.md namespaces.md networkns.md pidns.md userns.md
2017-11-09 00:30:41 +00:00
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" \
2018-10-03 08:52:40 +00:00
-M colorlinks=true \
-M linkcolor="black" \
-M urlcolor="[rgb]{0.2,0.6,0.4}" \
2016-10-19 03:24:05 +00:00
--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