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

added empty newlines at the end and updated makefile

parent 3485da9f
No related branches found
No related tags found
No related merge requests found
Pipeline #12502 passed
......@@ -5,3 +5,4 @@
*.backup
*.pdf
*.html
*.markdown
......@@ -15,3 +15,4 @@ les jointures des articulation $\mu_k=0.01$.
[^6]: A titre d'exemple, pour un contact bois sur bois, on a $\mu_s=0.4$, pour du caoutchouc sur du béton $\mu_s=1$, et pour
les jointures des articulation $\mu_s=0.01$.
......@@ -26,6 +26,20 @@ cours.pdf: 00_macros.md 01_analyse_dimensionnelle.md 02_lois_de_newton.md 03_cha
cours.html: 00_macros.md 01_analyse_dimensionnelle.md 02_lois_de_newton.md 03_charge_electrique_champs_electrique.md 10_footer.md
pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml
hakyll_gen: Analyse_Dimensionnelle.markdown Lois_de_Newton.markdown Charge_Electrique_Champs_Electrique.markdown
Analyse_Dimensionnelle.markdown: 00_macros.md 01_analyse_dimensionnelle.md 10_footer.md
cat $^ > $@
sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_rappel.md | head -n 1)\nmathjax: on\n---" $@
Lois_de_Newton.markdown: 00_macros.md 02_lois_de_newton.md 10_footer.md
cat $^ > $@
sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_rappel.md | head -n 1)\nmathjax: on\n---" $@
Charge_Electrique_Champs_Electrique.markdown: 00_macros.md 03_charge_electrique_champs_electrique.md 10_footer.md
cat $^ > $@
sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_rappel.md | head -n 1)\nmathjax: on\n---" $@
deploy: all
mkdir -p phys
cp cours.html phys/index.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment