maintenance/talks/icg-2018/Makefile

45 lines
1.0 KiB
Makefile

SLIDES=\
title \
reproducible-1 \
reproducible-4 \
reproducible-2 \
reproducible-3 \
big-graph-fixed \
containers \
smoothie \
pigx \
pigx-design-1 \
bonus-chipseq \
pigx-design-2 \
pigx-design-3 \
guix-features \
guix-to-container \
pigx-reproducible \
summary \
end
# Extra slides for which there is no time:
BONUS= bonus \
bonus-rnaseq bonus-bsseq bonus-chipseq bonus-scrnaseq \
bonus-functional1a bonus-functional1b bonus-functional1c
GS = /gnu/store/daqmrbimydz948sd3gl75lslqq2sq7yj-ghostscript-9.22/bin/gs
slides.pdf: $(addsuffix .pdf, ${SLIDES} ${BONUS})
${GS} -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$@ $^
%.pdf: %.svg
inkscape -z --export-dpi=300 --export-pdf=$@ $<
%.png: %.svg
inkscape -z --export-height=800 --export-png=$@ $<
#-vsync vfr
video.webm: durations.txt $(addsuffix .png, ${SLIDES})
ffmpeg -f concat -copytb 1 -vsync cfr -i durations.txt -i session.flac \
-c:a libopus -ac 2 -b:a 192k \
-c:v libvpx-vp9 -crf 31 -b:v 0 -pix_fmt gbrp -threads 4 -shortest \
video.webm