Add comments

This commit is contained in:
Kenwood 2021-07-16 22:27:47 -04:00
parent ea36714781
commit 2bb83528a8
1 changed files with 7 additions and 0 deletions

View File

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