mirror of
https://github.com/newtype256/esgi-devops.git
synced 2025-06-06 00:26:25 +02:00
slides: init
This commit is contained in:
parent
64601ca476
commit
338ce563d7
10 changed files with 227 additions and 0 deletions
19
slides/Makefile
Normal file
19
slides/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md))
|
||||
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md))
|
||||
|
||||
all : $(SLIDES) $(HANDOUTS)
|
||||
|
||||
%.md.slides.pdf : %.md
|
||||
pandoc $^ -t beamer --slide-level 2 -o $@
|
||||
|
||||
%.md.handout.pdf : %.md
|
||||
pandoc $^ -t beamer --slide-level 2 -V handout -o $@
|
||||
pdfnup $@ --nup 1x2 --no-landscape --keepinfo \
|
||||
--paper letterpaper --frame true --scale 0.9 \
|
||||
--suffix "nup"
|
||||
mv $*.md.handout-nup.pdf $@
|
||||
|
||||
|
||||
clobber :
|
||||
rm -f $(SLIDES)
|
||||
rm -f $(HANDOUTS)
|
Loading…
Add table
Add a link
Reference in a new issue