diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac01a8919afa6d1ec3c95497c6dcb70b366ecbcb..1cf11203d797efdd874a27f372ea9124ce0a54a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,9 @@ image: omalaspinas/archlinux-pandoc:thirdtry build: script: + - cd figs + - ./convert.sh + - cd .. - make artifacts: paths: diff --git a/Makefile b/Makefile index c69428daf1687c6e6b7525eadeff180e0f0a5ba0..49517caa49be85c0f8386bf1849b57b9bdaf2e52 100644 --- a/Makefile +++ b/Makefile @@ -27,14 +27,7 @@ REVEALOPRIONS += --self-contained # REVEALOPRIONS += --include-in-header=reveal.js/left_just.css -# all: cours.pdf cours.html -all: figs/convert.sh intro.html variables.html - -figs/convert.sh: $(wildcard *.svg) - cd figs; ./convert.sh - -# cours.pdf: cours.md Makefile -# pandoc -s $(BEAMEROPTIONS) -o $@ $< +all: intro.html variables.html intro.html: intro.md Makefile pandoc -s $(REVEALOPRIONS) -o $@ $<