Skip to content
Snippets Groups Projects
Verified Commit de255cdf authored by orestis.malaspin's avatar orestis.malaspin
Browse files

deply made better

parent 7d5f58f7
No related branches found
No related tags found
No related merge requests found
...@@ -58,6 +58,7 @@ $(MARKDOWN): %.markdown: 00_macros.md %.md 10_footer.md ...@@ -58,6 +58,7 @@ $(MARKDOWN): %.markdown: 00_macros.md %.md 10_footer.md
deploy: all deploy: all
mkdir -p phys mkdir -p phys
mkdir -p phys/planets
cp cours.html phys/index.html cp cours.html phys/index.html
cp cours.pdf phys/cours.pdf cp cours.pdf phys/cours.pdf
make -C exercices make -C exercices
...@@ -70,6 +71,11 @@ deploy: all ...@@ -70,6 +71,11 @@ deploy: all
cp practical_work/*.pdf phys/practical_work cp practical_work/*.pdf phys/practical_work
ls -ltr ls -ltr
cd practical_work/ && tar cvf tp_vec2.tar.gz tp_vec2/ && cp tp_vec2.tar.gz ../phys/practical_work 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: clean:
rm -f *.html *.pdf $(MARKDOWN) $(PDF) $(TEX) $(HTML) rm -f *.html *.pdf $(MARKDOWN) $(PDF) $(TEX) $(HTML)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment