Versuch, Makefile zu reparieren
Signed-off-by: Daniel Borchmann <daniel@algebra20.de>
This commit is contained in:
parent
4adeee731d
commit
91bb596ee3
|
@ -2,8 +2,8 @@
|
||||||
# maybe this helps: https://stackoverflow.com/questions/6278057/replace-only-first-match-in-multiple-files-with-perl
|
# maybe this helps: https://stackoverflow.com/questions/6278057/replace-only-first-match-in-multiple-files-with-perl
|
||||||
|
|
||||||
%-handout.pdf: %.tex
|
%-handout.pdf: %.tex
|
||||||
cat $< | sed -e 's/^\\documentclass\[/\\documentclass\[handout,/' -e 's/^\\documentclass{/\\documentclass\[handout\]{/' | lualatex -jobname=$(basename $@)
|
cat $< | perl -0777 -p -e 's/^\\documentclass\[/\\documentclass\[handout,/' -e 's/^\\documentclass{/\\documentclass\[handout\]{/' | lualatex -jobname=$(basename $@)
|
||||||
cat $< | sed -e 's/^\\documentclass\[/\\documentclass\[handout,/' -e 's/^\\documentclass{/\\documentclass\[handout\]{/' | lualatex -jobname=$(basename $@)
|
cat $< | perl -0777 -p -e 's/^\\documentclass\[/\\documentclass\[handout,/' -e 's/^\\documentclass{/\\documentclass\[handout\]{/' | lualatex -jobname=$(basename $@)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *-handout.pdf
|
rm -f *-handout.pdf
|
||||||
|
|
Loading…
Reference in New Issue