Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. .PHONY: all cleantex clean
  2. texfile = presentation
  3. imgdir = images
  4. _imgdownload = phyphox_dark.png coordinate_system.jpg eso1907a.jpg \
  5. whitedata_strain_SNR_qscan.jpg sln_cover-2019.pdf
  6. imgfiles = $(patsubst %, $(imgdir)/%, $(_imgdownload))
  7. all: presentation.pdf
  8. presentation.pdf: presentation.tex $(imgfiles)
  9. pdflatex $(texfile).tex
  10. pdflatex $(texfile).tex
  11. $(imgdir)/phyphox_dark.png:
  12. wget https://phyphox.org/wp-content/uploads/2019/06/phyphox_dark.png -O $@
  13. $(imgdir)/coordinate_system.jpg:
  14. wget http://phyphox.org/wp-content/uploads/2016/04/coordinate_system.jpg -O $@
  15. $(imgdir)/eso1907a.jpg:
  16. wget https://cdn.eso.org/images/screen/eso1907a.jpg -O $@
  17. $(imgdir)/whitedata_strain_SNR_qscan.jpg:
  18. wget https://www.ligo.caltech.edu/system/avm_image_sqls/binaries/89/jpg_original/whitedata_strain_SNR_qscan_v11Vhigh.jpg?1506626321 -O $@
  19. $(imgdir)/sln_cover-2019.pdf:
  20. wget https://github.com/scipy-lectures/scipy-lecture-notes/raw/master/images/cover-2019.pdf -O $@
  21. cleantex:
  22. rm -f $(texfile).aux $(texfile).log $(texfile).nav \
  23. $(texfile).out $(texfile).snm $(texfile).toc \
  24. $(texfile).vrb $(texfile).pdf
  25. clean: cleantex
  26. rm $(imgfiles)