From 8386f57701457f5e45807ce573d54838c694a22c Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@hesge.ch>
Date: Sun, 25 Oct 2020 01:26:47 +0200
Subject: [PATCH] added deploy

---
 Makefile                                  | 4 ++++
 travaux_pratiques/tpOptimisation/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f10bdfb..1b12a28 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,10 @@ deploy: all
 	make -C travaux_pratiques/tpEdo
 	cp travaux_pratiques/tpEdo/*.pdf mti/tpEdo/
 	cp travaux_pratiques/tpEdo/tpEquadiffs.html mti/tpEdo/index.html
+	mkdir -p mti/tpOptimisation
+	make -C travaux_pratiques/tpOptimisation
+	cp travaux_pratiques/tpOptimisation/*.pdf mti/tpOptimisation/
+	cp travaux_pratiques/tpOptimisation/tpOptimisation.html mti/tpOptimisation/index.html
 
 clean:
 	rm -rf *.html *.pdf
diff --git a/travaux_pratiques/tpOptimisation/Makefile b/travaux_pratiques/tpOptimisation/Makefile
index 70c7910..472cb8a 100644
--- a/travaux_pratiques/tpOptimisation/Makefile
+++ b/travaux_pratiques/tpOptimisation/Makefile
@@ -8,7 +8,7 @@ PDFOPTIONS += --template=./default.latex
 
 
 HTMLOPTIONS += -t html5
-HTMLOPTIONS += -c css/prism.css
+HTMLOPTIONS += -c ../../css/styling.css
 HTMLOPTIONS += --self-contained
 HTMLOPTIONS += --mathjax=MathJax.js
 
-- 
GitLab