diff options
-rw-r--r-- | Makefile | 14 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | es/1.md | 0 | ||||
-rw-r--r-- | es/2.md | 0 |
4 files changed, 20 insertions, 2 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..def8f44 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +all: eu es + +eu: pdf/eu/1.pdf pdf/eu/2.pdf +es: pdf/es/1.pdf pdf/es/2.pdf + +pdf/%.pdf: %.md template.tex + mkdir -p $(@D) + pandoc -f markdown+smart -t beamer $< -o $@ --pdf-engine=xelatex \ + --template="template.tex" + +clean: + rm -rf pdf + +.PHONY: all clean @@ -7,6 +7,10 @@ folder: - `es`: Spanish translation Each of the files has a note in the metadata indicating how to build it to PDF. -They expect to be run from the project root folder. +They expect to be run from the project root folder. In any case the Makefile in +the root directory knows how to build them. -> NOTE: This might be automated in the future +Use `make $LANG` to build the language you want or `make all` if you are a +polyglot. + +> Using `make`'s `-j$JOBS` flag might help (builds are slow) |