repositories
/
paefcais1617.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df4af8
)
update makefile
author
Mart Lubbers
<mart@martlubbers.net>
Thu, 26 Jan 2017 18:29:44 +0000
(19:29 +0100)
committer
Mart Lubbers
<mart@martlubbers.net>
Thu, 26 Jan 2017 18:29:44 +0000
(19:29 +0100)
final_assignment/Makefile
patch
|
blob
|
history
diff --git
a/final_assignment/Makefile
b/final_assignment/Makefile
index
6babb94
..
672ad9c
100644
(file)
--- a/
final_assignment/Makefile
+++ b/
final_assignment/Makefile
@@
-5,14
+5,16
@@
BIBTEXFLAGS:=
LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape
TEXS:=$(filter-out preamble.tex,$(wildcard *.tex))
-PREAMBLE:=$(wildcard preamble.tex)
.PHONY: all clean
.SECONDARY: $(addsuffix .fmt,$(DOCS))
all: $(addsuffix .pdf,$(DOCS))
-%.fmt: %.pre
+%.fmt: %.pre
+ $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
+%.fmt: preamble.tex
$(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
%.pdf: %.mlog