# An example makefile to generate a pdf slideshow from markdown # Uses pandoc, beamer # # Ideas from this video https://youtu.be/dum7q6UXiCE # # Kitsune Scientific 2021 hash := $(shell git rev-parse --short HEAD) all: generate clean generate: example_slides.md cp example_slides.md working.md sed -i "s/&hash/$(hash)/" working.md pandoc working.md -t beamer -o changeme.pdf clean: working.md rm working.md