From 015898f1166ced04aac90fbe3ec16278a9322958 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Tue, 20 Dec 2022 22:40:55 +0100 Subject: Fix image generation and ignore generated files --- .gitignore | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a8d3e03..b781966 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ mgr.pdf *.run.xml *.toc +figures/*.pdf +figures/*.pdf_tex diff --git a/Makefile b/Makefile index effa364..4b6a0e9 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ all: mgr.pdf presentation/presentation.pdf figures/%.pdf: figures/%.svg inkscape -D "$<" -o $@ --export-latex - sed -ie "s#{$(@F)#{$@#" $(@:.pdf=.pdf_tex) + sed -i -e "s#{$(@F)#{$@#" $(@:.pdf=.pdf_tex) mgr.pdf: mgr.tex mgr.bib pracamgr.cls definitions.sty $(FIGURES) lualatex mgr -- cgit v1.2.3