Modified latex makefile to ignore temp directory
This commit is contained in:
@@ -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) &
|
||||
|
||||
Reference in New Issue
Block a user