From 83f6eb1e143ab798f5b79ebf3cc4e7ae81e35eff Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Mon, 11 Mar 2019 11:44:39 +0100 Subject: [PATCH] added makefile config to have automatically the last commit in the title slide --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4bd38f8..8ad875a 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,9 @@ BEAMEROPTIONS += -V fontsize=smaller BEAMEROPTIONS += --highlight-style espresso BEAMEROPTIONS += -H ./header.tex --listings +BLA = $(shell git log | head -n 1) default: git_tutorial.md - BLA=`git log | head -n 1` + echo $(BLA) sed -i '3s/.*/% $(BLA)/' git_tutorial.md pandoc -s $(BEAMEROPTIONS) -o git_tutorial.pdf git_tutorial.md -- GitLab