Skip to content

Commit

Permalink
Fix path to image in matphys_ht10.tex during build
Browse files Browse the repository at this point in the history
  • Loading branch information
SeTSeR committed Feb 18, 2020
1 parent 8d7739c commit db0d3c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit db0d3c2

Please sign in to comment.