From de255cdf15165f24df27fa903978f31e9b1dca6c Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Sun, 5 Dec 2021 22:38:34 +0100 Subject: [PATCH] deply made better --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index a83b0a6..f41c096 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,7 @@ $(MARKDOWN): %.markdown: 00_macros.md %.md 10_footer.md deploy: all mkdir -p phys + mkdir -p phys/planets cp cours.html phys/index.html cp cours.pdf phys/cours.pdf make -C exercices @@ -70,6 +71,11 @@ deploy: all cp practical_work/*.pdf phys/practical_work ls -ltr cd practical_work/ && tar cvf tp_vec2.tar.gz tp_vec2/ && cp tp_vec2.tar.gz ../phys/practical_work + make -C practical_work/planets + cp practical_work/planets/*.pdf phys/planets/ + cp practical_work/planets/*.html phys/planets/ + cd practical_work/planets && tar czvf skeleton.tar.gz skeleton && cp *.gz ../../phys/planets + clean: rm -f *.html *.pdf $(MARKDOWN) $(PDF) $(TEX) $(HTML) -- GitLab