Makefile 910 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Part of Zombie Navigator
  2. # Copyright © 2016 Zombie Navigator Developers
  3. all: addon
  4. .PHONY: all addon docs icon archive test check zopflipng npm update
  5. addon: update
  6. exec ./tools/build.sh
  7. addon-minified: update
  8. exec ./tools/build.sh --minify-js
  9. docs:
  10. exec ./tools/build-docs.sh
  11. icon:
  12. exec ./tools/build-icon.sh
  13. archive:
  14. exec ./tools/save-archive.sh
  15. test: check
  16. check:
  17. exec ./tools/validate.sh
  18. npm:
  19. @echo "NPM will access online repositories!!!"
  20. @echo "Interrupt within 5 seconds if you are not ready..."
  21. sleep 5
  22. @echo "Now invoking NPM!"
  23. exec npm update
  24. update:
  25. exec ./tools/update-data.sh
  26. zopflipng:
  27. @echo "Git will access online repositories!!!"
  28. @echo "Interrupt within 5 seconds if you are not ready..."
  29. sleep 5
  30. @echo "Now invoking Git!"
  31. mkdir -p .deps ; \
  32. cd .deps ; \
  33. git clone https://github.com/google/zopfli.git ; \
  34. cd zopfli ; \
  35. make zopflipng
  36. # vim: ts=4 noet ai