From 4ba6fcb33d90c02b3ede2480c13eb05c7cbb50f3 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Sat, 21 Jan 2023 14:58:56 +0100
Subject: [PATCH] fix for css

---
 .gitignore | 3 ++-
 Makefile   | 8 +++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 283c940..a704bca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@
 practical_work/tp_vec2/main
 practical_work/tp_vec2/tests
 practical_work/planets/skeleton/main
-practical_work/planets/skeleton/tests
\ No newline at end of file
+practical_work/planets/skeleton/tests
+phys
diff --git a/Makefile b/Makefile
index 0301c64..4512c98 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,3 @@
-STYLES := css/tufte-css/tufte.css \
-	css/pandoc.css \
-	css/pandoc-solarized.css \
-	css/tufte-extra.css
-
 OPTIONS = --toc
 OPTIONS += --filter=pandoc-numbering
 OPTIONS += --filter=pandoc-crossref
@@ -31,6 +26,8 @@ all:  cours.pdf cours.html
 
 docker: docker-compose.yml
 	docker-compose run cours
+	chown $(USER):$(GROUP) cours.html
+	chown $(USER):$(GROUP) cours.pdf
 
 docker_clean: docker-compose.yml
 	docker-compose run cours clean
@@ -69,6 +66,7 @@ deploy: all
 	mkdir -p phys/field_lines
 	cp cours.html phys/index.html
 	cp cours.pdf phys/cours.pdf
+	rsync -avzz css phys/
 	make -C exercices
 	make -C practical_work
 	mkdir -p phys/exercices
-- 
GitLab