aboutsummaryrefslogtreecommitdiffstats
path: root/resources/Makefile-common
diff options
context:
space:
mode:
Diffstat (limited to 'resources/Makefile-common')
-rw-r--r--resources/Makefile-common6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/Makefile-common b/resources/Makefile-common
index 9ba957f..3d066b1 100644
--- a/resources/Makefile-common
+++ b/resources/Makefile-common
@@ -24,19 +24,21 @@ FILE =
PREAMBLE = ../preamble/preamble
FILES_TEX =
FILES_JPG =
+FILES_PDF =
SEND_FILES =
input = $(FILE).tex
output = $(FILE).pdf
preamble = $(PREAMBLE).tex
files-tex = $(foreach f, $(FILES_TEX), $(f).tex)
-files-jgp = $(foreach f, $(FILES_JPG), $(f).jpg)
+files-jpg = $(foreach f, $(FILES_JPG), $(f).jpg)
+files-pdf = $(foreach f, $(FILES_PDF), $(f).pdf)
send-files = $(foreach f, $(SEND_FILES), $(f).pdf)
compile: $(output)
# The most general latex compilation command
-$(output): $(input) $(preamble) $(files-tex) $(files-jpg)
+$(output): $(input) $(preamble) $(files-tex) $(files-jpg) $(files-pdf)
latex_count=5 ;\
latex_log=$$(echo $@ | sed 's/.pdf/.log/') ;\
pdflatex $< ;\