Deprecate libreoffice handouts

This commit is contained in:
Simon Bruder 2020-10-11 17:41:13 +02:00
parent 44e46db01d
commit 3c5ccf54ab
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
7 changed files with 21 additions and 22 deletions

View file

@ -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)) REVEALJS = $(patsubst %.md,%.html,$(wildcard revealjs/*/index.md))
LATEX = $(patsubst %.tex,%.pdf,$(wildcard latex/*/index.tex)) LATEX = $(patsubst %.tex,%.pdf,$(wildcard latex/*/index.tex))
@ -7,29 +7,28 @@ all: ${HANDOUTS} ${REVEALJS} ${LATEX}
.PHONY: clean .PHONY: clean
clean: clean:
rm -f \ rm -f \
*/*/*.aux \
*/*/*.bbl \
*/*/*.bcf \
*/*/*.blg \
*/*/*.fdb_latexmk \
*/*/*.fls \
*/*/*.log \
*/*/*.nav \
*/*/*.out \
*/*/*.run.xml \
*/*/*.snm \
*/*/*.toc \
*/*/*.xdv \
*/*/handout.pdf \ */*/handout.pdf \
latex/*/index.aux \ */*/index.pdf \
latex/*/index.bbl \ revealjs/*/index.html
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
revealjs/%/index.html: revealjs/%/*.md revealjs/%/index.html: revealjs/%/*.md
python3 revealjs/build.py $@ python3 revealjs/build.py $@
%/handout.pdf: %/handout.odt %/handout.pdf: %/handout.tex
libreoffice --headless --convert-to pdf "$<" --outdir $(@D) latexmk -cd -xelatex $<
latex/%/index.pdf: latex/%/index.tex latex/%/index.pdf: latex/%/index.tex
latexmk -cd -xelatex $< latexmk -cd -xelatex $<

View file

@ -11,12 +11,12 @@
<h1>Präsentationen</h1> <h1>Präsentationen</h1>
<table> <table>
<tr><td></td><td><a href="revealjs/snowden/">Snowden</a></td></tr> <tr><td></td><td><a href="revealjs/snowden/">Snowden</a></td></tr>
<tr><td></td><td><a href="revealjs/snowden/handout.pdf">Snowden (handout)</a></td></tr> <tr><td></td><td><a href="revealjs/snowden/handout.legacy.odt">Snowden (handout, ODT)</a></td></tr>
<tr><td></td><td><a href="revealjs/alternative_energy/">Alternative Energie</a></td></tr> <tr><td></td><td><a href="revealjs/alternative_energy/">Alternative Energie</a></td></tr>
<tr><td></td><td><a href="revealjs/alternative_energy/handout.pdf">Alternative Energie (handout)</a></td></tr> <tr><td></td><td><a href="revealjs/alternative_energy/handout.legacy.odt">Alternative Energie (handout, ODT)</a></td></tr>
<tr><td></td><td><a href="revealjs/passwords/">Passwörter</a></td></tr> <tr><td></td><td><a href="revealjs/passwords/">Passwörter</a></td></tr>
<tr><td></td><td><a href="revealjs/machtergreifung/">„Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat</a></td></tr> <tr><td></td><td><a href="revealjs/machtergreifung/">„Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat</a></td></tr>
<tr><td></td><td><a href="revealjs/machtergreifung/handout.pdf">„Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat (handout)</a></td></tr> <tr><td></td><td><a href="revealjs/machtergreifung/handout.legacy.odt">„Machtergreifung“: Von der Präsidialdiktatur zum Führerstaat (handout, ODT)</a></td></tr>
<tr><td></td><td><a href="revealjs/information-technology/">information technology</a></td></tr> <tr><td></td><td><a href="revealjs/information-technology/">information technology</a></td></tr>
<tr><td></td><td><a href="revealjs/laser/">Laser in optischen Laufwerken</a></td></tr> <tr><td></td><td><a href="revealjs/laser/">Laser in optischen Laufwerken</a></td></tr>
<tr><td></td><td><a href="revealjs/suchmaschine/">Suchmaschine</a></td></tr> <tr><td></td><td><a href="revealjs/suchmaschine/">Suchmaschine</a></td></tr>