From 721bcd3faeb2c8f51d78403e9cd164d0b2abc8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 21 Jun 2020 17:37:33 +0300 Subject: [PATCH] make2graph --- II/Referatas/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/II/Referatas/Makefile b/II/Referatas/Makefile index b94b24a..97ed4ce 100644 --- a/II/Referatas/Makefile +++ b/II/Referatas/Makefile @@ -21,7 +21,7 @@ GEN3 = $(addsuffix .pdf, \ .PHONY: all all: mj-referatas.pdf mj-prezentacija.pdf -mj-referatas.pdf: mj-referatas.tex version.tex bib.bib zeimena.pdf \ +mj-referatas.pdf: mj-referatas.tex version.tex bib.bib zeimena.pdf zeimena-pretty.pdf \ sinewave1.pdf sinewave2.pdf crossing.pdf $(GEN1) $(GEN2) $(GEN3) latexmk -shell-escape -g -pdf $< @@ -100,3 +100,7 @@ version.tex: $(shell git ls-files .) $(GIT_DIR) date '+\gdef\GeneratedAt{%F %T %Z}%'; \ printf '\gdef\VCDescribe{%s}%%\n' $(REF); \ ) > $@ + +# Optional: vizualize and analyze dependencies and artifacts of this Makefile +make.png: + $(MAKE) -Bnd | grep -Ev 'Makefile|version.tex|.git' | make2graph | dot -Tpng -o $@