diff --git a/Makefile b/Makefile index 3f0c7cc..87763ad 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -HANDOUTS = $(patsubst %.odt,%.pdf,$(wildcard revealjs/*/handout.odt)) +HANDOUTS = $(patsubst %.tex,%.pdf,$(wildcard revealjs/*/handout.tex)) REVEALJS = $(patsubst %.md,%.html,$(wildcard revealjs/*/index.md)) LATEX = $(patsubst %.tex,%.pdf,$(wildcard latex/*/index.tex)) @@ -7,29 +7,28 @@ all: ${HANDOUTS} ${REVEALJS} ${LATEX} .PHONY: clean clean: rm -f \ + */*/*.aux \ + */*/*.bbl \ + */*/*.bcf \ + */*/*.blg \ + */*/*.fdb_latexmk \ + */*/*.fls \ + */*/*.log \ + */*/*.nav \ + */*/*.out \ + */*/*.run.xml \ + */*/*.snm \ + */*/*.toc \ + */*/*.xdv \ */*/handout.pdf \ - latex/*/index.aux \ - latex/*/index.bbl \ - latex/*/index.bcf \ - latex/*/index.blg \ - latex/*/index.fdb_latexmk \ - latex/*/index.fls \ - latex/*/index.log \ - latex/*/index.nav \ - latex/*/index.out \ - latex/*/index.pdf \ - latex/*/index.run.xml \ - latex/*/index.snm \ - latex/*/index.toc \ - latex/*/index.xdv \ - revealjs/*/index.html \ - revealjs/*/index.pdf + */*/index.pdf \ + revealjs/*/index.html revealjs/%/index.html: revealjs/%/*.md python3 revealjs/build.py $@ -%/handout.pdf: %/handout.odt - libreoffice --headless --convert-to pdf "$<" --outdir $(@D) +%/handout.pdf: %/handout.tex + latexmk -cd -xelatex $< latex/%/index.pdf: latex/%/index.tex latexmk -cd -xelatex $< diff --git a/index.html b/index.html index e1e9d40..e2a6374 100644 --- a/index.html +++ b/index.html @@ -11,12 +11,12 @@
✓ | Snowden |
✓ | Snowden (handout) |
✓ | Snowden (handout, ODT) |
✓ | Alternative Energie |
✓ | Alternative Energie (handout) |
✓ | Alternative Energie (handout, ODT) |
✓ | Passwörter |
✓ | „Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat |
✓ | „Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat (handout) |
✓ | „Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat (handout, ODT) |
✓ | information technology |
✓ | Laser in optischen Laufwerken |
✓ | Suchmaschine |