Add comments
This commit is contained in:
parent
ea36714781
commit
2bb83528a8
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in New Issue