diff options
-rw-r--r-- | .build.yml | 6 | ||||
-rw-r--r-- | Makefile | 8 |
2 files changed, 8 insertions, 6 deletions
@@ -1,10 +1,6 @@ image: debian/unstable packages: - context - - texlive - - texlive-extra-utils - - texlive-latex-extra - - latexmk sources: - https://git.sr.ht/~ymherklotz/lsr22_fvhls secrets: @@ -12,6 +8,6 @@ secrets: tasks: - build: | cd lsr22_fvhls - make main.pdf + make REBUILD_DEPS=no main.pdf artifacts: - lsr22_fvhls/main.pdf @@ -1,10 +1,16 @@ MODE ?= main +REBUILD_DEPS ?= yes +DEPS := + +ifeq ($(REBUILD_DEPS), yes) + DEPS += figures/timing-1.pdf figures/timing-2.pdf figures/timing-3.pdf +endif .PHONY: all clean all: main.pdf -main.pdf: figures/timing-1.pdf figures/timing-2.pdf figures/timing-3.pdf +main.pdf: $(DEPS) figures/%.pdf: figures/%.tex latexmk -pdf -shell-escape $< |