diff --git a/Makefile b/Makefile index f16f95e..3185542 100755 --- a/Makefile +++ b/Makefile @@ -5,14 +5,21 @@ # # Kitsune Scientific 2021 +# Get vars hash := $(shell git rev-parse --short HEAD) +# Do everything all: generate clean +# Generate artifacts and output binaries generate: example_slides.md + # Copy over our source file to a temporary working one cp example_slides.md working.md + # Replace any vars in the text sed -i "s/&hash/$(hash)/" working.md + # Generate a doc with pandoc! pandoc working.md -t beamer -o changeme.pdf +# Clean any artifacts up clean: working.md rm working.md