summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-05-05 18:21:28 +0100
committerYann Herklotz <git@yannherklotz.com>2022-05-05 18:21:28 +0100
commit886afc8243ac38a5322093211dd0f8ab395f400f (patch)
treec3da22455046b297486eee747f3b8ca2e8b66c67
parentfd3fb0d122ea8dcd7d382eb6f36f652300d78b6b (diff)
downloadlsr22_fvhls-886afc8243ac38a5322093211dd0f8ab395f400f.tar.gz
lsr22_fvhls-886afc8243ac38a5322093211dd0f8ab395f400f.zip
Remove latex dependency
-rw-r--r--.build.yml6
-rw-r--r--Makefile8
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 $<