diff --git a/.gitignore b/.gitignore
index 283c9403c7f9043893bf590425d41eb51790c6d6..a704bca27e2dafb96776514aebffd168008cc3c5 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 0301c647de28e90e758c0e1fe8909541f1958eab..4512c9883ece715435c70e3a097e0198c704cec3 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