diff options
author | Camil Staps | 2016-02-12 15:12:00 +0100 |
---|---|---|
committer | Camil Staps | 2016-02-12 15:12:00 +0100 |
commit | a33567781d595b908e10bf56978027906f6f7ced (patch) | |
tree | f53703f9233409ce22b0fe622e5d8c8391597fe0 | |
parent | Removed spaces in path (diff) |
Change directory in makefile
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,5 +3,5 @@ TARGET=$(subst .tex,.pdf,$(wildcard */*.tex)) all: $(TARGET) %.pdf : %.tex - pdflatex -shell-escape $< && pdflatex -shell-escape $< + cd `dirname $<` && pdflatex -shell-escape `basename $<` && pdflatex -shell-escape `basename $<` && cd .. |