wip praktika
This commit is contained in:
10
III/Praktika/Makefile
Normal file
10
III/Praktika/Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
mj-praktika.pdf: mj-praktika.tex version.tex
|
||||
latexmk -g -pdf $<
|
||||
|
||||
REF = $(shell git describe --tags --dirty)
|
||||
GIT_DIR = $(shell git rev-parse --show-toplevel)/.git
|
||||
version.tex: $(shell git ls-files .) $(GIT_DIR)
|
||||
( \
|
||||
date '+\gdef\GeneratedAt{%F %T %Z}%'; \
|
||||
printf '\gdef\VCDescribe{%s}%%\n' $(REF); \
|
||||
) > $@
|
||||
Reference in New Issue
Block a user