diff --git a/Makefile b/Makefile index 368a88df7fa8fb41b37e7c9dcef1f49cc2c0f090..1f6357d4014204e75119033b14417a46caacb152 100644 --- a/Makefile +++ b/Makefile @@ -30,15 +30,15 @@ hakyll_gen: Analyse_Dimensionnelle.markdown Lois_de_Newton.markdown Charge_Elect 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---" $@ + sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 01_analyse_dimensionnelle.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---" $@ + sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 02_lois_de_newton.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---" $@ + sed -i "1i ---\ndate: $(shell git log --follow -p -1 --format=%cd --date=format:'%Y-%m-%d' -- 03_charge_electrique_champs_electrique.md | head -n 1)\nmathjax: on\n---" $@ deploy: all mkdir -p phys @@ -46,4 +46,4 @@ deploy: all cp cours.pdf phys/cours.pdf clean: - rm -f *.html *.pdf + rm -f *.html *.pdf *.markdown