From 30030ec7a11022faecdb18697fbc3b93f9c4e86f Mon Sep 17 00:00:00 2001
From: Orestis Malaspinas <orestis.malaspinas@hesge.ch>
Date: Thu, 14 Jun 2018 12:26:58 +0200
Subject: [PATCH] updates

---
 .gitlab-ci.yml | 3 +++
 Makefile       | 9 +--------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ac01a89..1cf1120 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 c69428d..49517ca 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 $@ $<
-- 
GitLab