From 886afc8243ac38a5322093211dd0f8ab395f400f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 5 May 2022 18:21:28 +0100 Subject: Remove latex dependency --- .build.yml | 6 +----- Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.build.yml b/.build.yml index de01be4..49833d4 100644 --- a/.build.yml +++ b/.build.yml @@ -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 diff --git a/Makefile b/Makefile index 282a3bb..f2114e8 100644 --- a/Makefile +++ b/Makefile @@ -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 $< -- cgit