Modified latex makefile to ignore temp directory

This commit is contained in:
2022-10-25 17:32:12 +02:00
parent e44dd55c65
commit 83c21736e2
2 changed files with 6 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ CFLAGS = -pdf -shell-escape -halt-on-error
TARGETS = $(BUILDDIR)/thesis.pdf
all: precomp $(TARGETS) postcomp
all: clean precomp $(TARGETS) postcomp
precomp:
@mkdir -p $(TEMPDIR)
@@ -23,10 +23,8 @@ postcomp:
$(BUILDDIR)/thesis.pdf: $(TEMPDIR)/thesis.tex
$(CC) $(CFLAGS) -output-directory=../$(BUILDDIR) -cd $<
f: clean all
clean:
rm -r $(BUILDDIR)
rm -rf $(BUILDDIR) $(TEMPDIR)
show:
okular $(TARGETS) &