repositories
/
msc-thesis1617.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f80c2e
)
fix makefile
author
Mart Lubbers
<mart@martlubbers.net>
Mon, 22 May 2017 14:23:03 +0000
(16:23 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Mon, 22 May 2017 14:23:03 +0000
(16:23 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c13b415
..
8f9b551
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,12
+19,12
@@
BIBS:=$(wildcard *.tex)
.PHONY: all clean
.SECONDARY: $(addsuffix .fmt,$(DOCS)) $(FIGURES)
.PHONY: all clean
.SECONDARY: $(addsuffix .fmt,$(DOCS)) $(FIGURES)
-all: $(add
suffix .pdf,$(DOCS
))
+all: $(add
prefix output/,$(addsuffix .pdf,$(DOCS)
))
output/%.fmt: %.pre
$(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $<)" "&$(LATEX) $<\dump"
output/%.fmt: %.pre
$(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $<)" "&$(LATEX) $<\dump"
-%.pdf: %.mlog
+
output/
%.pdf: %.mlog
if $(GREP) -iFq 'Rerun' $<; then $(LATEX) $(LATEXFLAGS) $(basename $<); fi
%.mlog: %.tex output/%.fmt $(BIBS) $(TEXS) $(FIGURES) $(LISTINGS)
if $(GREP) -iFq 'Rerun' $<; then $(LATEX) $(LATEXFLAGS) $(basename $<); fi
%.mlog: %.tex output/%.fmt $(BIBS) $(TEXS) $(FIGURES) $(LISTINGS)
@@
-37,4
+37,4
@@
img/%.png: fig/%.dot
dot -Tpng $< > $@
clean:
dot -Tpng $< > $@
clean:
- $(RM) output/*
*
$(FIGURES)
+ $(RM) output/* $(FIGURES)