diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-08-07 17:32:24 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-08-07 18:05:51 +0200 |
commit | c409a920eeb6448cec79c91d67c7fb3b74062d20 (patch) | |
tree | d08fc335ad51db78a772fa52230b25496a66579f | |
parent | 3355ee695d00390e23bc7f41936f86ae1be1cf34 (diff) |
Makefile for paper
-rw-r--r-- | papers/LOCO-24/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/papers/LOCO-24/Makefile b/papers/LOCO-24/Makefile new file mode 100644 index 0000000..cb5664f --- /dev/null +++ b/papers/LOCO-24/Makefile @@ -0,0 +1,20 @@ +AUX ?= aux +FILE ?= contents.latex +FLAGS ?= -interaction=batchmode +AUXFILE = $(AUX)/$(addsuffix ".aux", $(basename $(FILE))) +TARGET = $(addsuffix ".pdf", $(basename $(FILE))) + +all: $(TARGET) + +$(TARGET): $(FILE) + mkdir -p $(AUX) + pdflatex $(FLAGS) -output-directory=$(AUX) $(FILE) + bibtex $(AUXFILE) + pdflatex $(FLAGS) -output-directory=$(AUX) $(FILE) + pdflatex $(FLAGS) -output-directory=$(AUX) $(FILE) + cp $(AUX)/$(TARGET) . + +clean: + rm -r $(TARGET) $(AUX) + +.PHONY: all clean |