Makefile 600 B

1234567891011121314151617181920212223242526
  1. SOURCE = circular-cone
  2. DELAY = 80
  3. DENSITY = 300
  4. make:
  5. pdflatex $(SOURCE).tex -output-format=pdf
  6. make clean
  7. clean:
  8. rm -rf $(TARGET) *.class *.html *.log *.aux
  9. gif:
  10. pdfcrop $(SOURCE).pdf
  11. convert -verbose -delay $(DELAY) -loop 0 -density $(DENSITY) $(SOURCE)-crop.pdf $(SOURCE).gif
  12. make clean
  13. transparentGif:
  14. convert $(SOURCE).pdf -transparent white result.gif
  15. make clean
  16. svg:
  17. #inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
  18. pdf2svg $(SOURCE).pdf $(SOURCE).svg
  19. # Necessary, as pdf2svg does not always create valid svgs:
  20. inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg