From 11696587813b77a79ae72da9b3ea01f602ceb231 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sun, 7 Jun 2020 22:41:54 +0100 Subject: Started working on short slides (10-15 minutes) The main slides have become too long, so a shorter version is necessary. With this commit, I am starting work on a short version. --- Makefile | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 48e9b73..ef1bfa3 100644 --- a/Makefile +++ b/Makefile @@ -16,23 +16,31 @@ +# Clean all extra files +all: final +.PHONY: clean-latex clean all final +clean-latex: + rm -f *.aux *.log *.nav *.out *.snm *.toc git-commit.tex +clean: clean-latex + rm *.pdf + + + + + # PDF slides: -slides-intro.pdf: slides-intro.tex tex/*.tex +slides=slides-intro.pdf slides-intro-short.pdf +$(slides): %.pdf: %.tex tex/*.tex # We'll run pdflatex two times so the page numbers and # internal links also work. if [ -d .git ]; then v=$$(git describe --dirty --always --long); \ else v=NO-GIT; fi; \ echo "\newcommand{\gitcommit}{$$v}" > git-commit.tex - pdflatex slides-intro -# pdflatex slides-intro + pdflatex $* +# pdflatex $* - -# Clean all extra files -.PHONY: clean-latex clean -clean-latex: - rm -f *.aux *.log *.nav *.out *.snm *.toc git-commit.tex -clean: clean-latex - rm *.pdf +# Ultimate aim of project. +final: $(slides) -- cgit v1.2.1