Makefile 453 B

1234567891011121314151617181920
  1. title=Drone Physics 101
  2. all:
  3. jupyter-notebook slides.ipynb
  4. slides:
  5. jupyter-nbconvert --to slides slides.ipynb --post serve --reveal-prefix reveal.js
  6. latex:
  7. cp slides.ipynb '$(title).ipynb'
  8. jupyter-nbconvert --to latex '$(title).ipynb'
  9. rm '$(title).ipynb'
  10. handout: latex
  11. xelatex -interaction nonstopmode '$(title).tex'
  12. rm '$(title).tex'
  13. clean:
  14. rm '$(title).log' '$(title).aux' '$(title).out' '$(title).tex' '$(title).pdf' slides.slides.html