diff --git a/Makefile b/Makefile index 1ee57444..e7bff2fa 100644 --- a/Makefile +++ b/Makefile @@ -213,6 +213,8 @@ endif # merge, tag and push define mtp + VERSION=$(shell head -1 NOVAthesisFiles/nt-version.sty | sed -e 's/.*{//' -e 's/\(.*\)./\1/') + DATE=$(shell tail -1 NOVAthesisFiles/nt-version.sty | sed -e 's/.*{//' -e 's/\(.*\)./\1/' | tr '\n' '@'m| sed -e 's/\(.*\)./\1/') make clean echo "VERSION IS $(VERSION)" git commit --all --message "Version $(VERSION)." || true