m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <mc370754@students.mimuw.edu.pl>2022-12-20 22:40:55 +0100
committerMarcin Chrzanowski <mc370754@students.mimuw.edu.pl>2022-12-20 22:40:55 +0100
commit015898f1166ced04aac90fbe3ec16278a9322958 (patch)
tree91cd451667b86eb183da742fa5b90bf18a6715a6
parentdcd82476cb02d30d1487e0ecf5cee9d9be1fbb15 (diff)
Fix image generation and ignore generated files
-rw-r--r--.gitignore2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
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