Makefile 468 B

1234567891011121314151617181920212223242526
  1. dist:
  2. ./art_strategies.py
  3. .PHONY: clean build serve serve-en serve-cs
  4. build: dist/cs/_site dist/en/_site
  5. dist/cs/_site: jekyll/node_modules dist
  6. cd dist/cs; jekyll build
  7. dist/en/_site: jekyll/node_modules dist
  8. cd dist/en; jekyll build
  9. jekyll/node_modules:
  10. cd jekyll; npm install
  11. serve: serve-en
  12. serve-cs: jekyll/node_modules dist
  13. cd dist/cs; jekyll serve
  14. serve-en: jekyll/node_modules dist
  15. cd dist/en; jekyll serve
  16. clean:
  17. [[ ! -d dist ]] || rm -r dist