summaryrefslogtreecommitdiffstats
path: root/labb/experimentell-problemlösning/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'labb/experimentell-problemlösning/Makefile')
-rw-r--r--labb/experimentell-problemlösning/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/labb/experimentell-problemlösning/Makefile b/labb/experimentell-problemlösning/Makefile
index c45c482..44761aa 100644
--- a/labb/experimentell-problemlösning/Makefile
+++ b/labb/experimentell-problemlösning/Makefile
@@ -1,12 +1,14 @@
# You want latexmk to *always* run, because make does not have all the info.
# Also, include non-file targets in .PHONY so they are run regardless of any
# file of the given name existing.
-.PHONY: clean #TODO add "all"
+.PHONY: rapport clean #TODO add "all"
# The first rule in a Makefile is the one executed by default ("make"). It
# should always be the "all" rule, so that "make" and "make all" are identical.
# all: fig.pdf
+rapport: rapport.pdf
+
# CUSTOM BUILD RULES
# In case you didn't know, '$@' is a variable holding the name of the target,
@@ -29,8 +31,8 @@
# -interaction=nonstopmode keeps the pdflatex backend from stopping at a
# missing file reference and interactively asking you for an alternative.
-#fig.pdf: fig.tex
-# latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make fig.tex; open fig.pdf
+rapport.pdf: rapport.tex
+ latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make rapport.tex; open rapport.pdf
clean:
latexmk -CA