From 2bb83528a864db86dfc336f184ca891c9e761203 Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Fri, 16 Jul 2021 22:27:47 -0400 Subject: [PATCH] Add comments --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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