From db0d3c20b9509b1aac292a1b33f4930b7a8d21ca Mon Sep 17 00:00:00 2001 From: Sergey Makarov Date: Tue, 18 Feb 2020 22:22:29 +0300 Subject: [PATCH] Fix path to image in matphys_ht10.tex during build --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index ab8f740..306ffc5 100644 --- a/Makefile +++ b/Makefile @@ -23,5 +23,12 @@ MatPhys/matphys_ht3.pdf: MatPhys/matphys_ht3.tex sed -i 's/img/MatPhys\/img/' $(DEST)/$< $(LATEX) -interaction nonstopmode -shell-escape -output-directory $(DEST) $(DEST)/$< +MatPhys/matphys_ht10.pdf: MatPhys/matphys_ht10.tex + mkdir -p $(DEST)/$@ + rm -r $(DEST)/$@ + cp $< $(DEST)/$< + sed -i 's/img/MatPhys\/img/' $(DEST)/$< + $(LATEX) -interaction nonstopmode -shell-escape -output-directory $(DEST) $(DEST)/$< + clean: -rm -r $(DEST)