You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
394 B
12 lines
394 B
BUILD_DIR=build
|
|
|
|
build: $(BUILD_DIR)/report.pdf
|
|
|
|
.PHONY: build
|
|
|
|
$(BUILD_DIR)/report.pdf: report.tex
|
|
@mkdir -p $(BUILD_DIR)
|
|
@xelatex -interaction=nonstopmode -halt-on-error -shell-escape -output-directory=$(BUILD_DIR) report.tex
|
|
# Re-running a second time for href to be happy
|
|
@xelatex -interaction=batchmode -halt-on-error -shell-escape -output-directory=$(BUILD_DIR) report.tex >/dev/null
|