Browse Source

Makefile: Replace directly calling Python script

Jakub Valenta 3 years ago
parent
commit
fe8adf2b9d
2 changed files with 23 additions and 0 deletions
  1. 23 0
      Makefile
  2. 0 0
      art_strategies.py

+ 23 - 0
Makefile

@@ -0,0 +1,23 @@
+dist:
+	./art_strategies.py
+
+.PHONY: clean build serve serve-en serve-cs
+
+build: dist/cs/_site dist/en/_site
+
+dist/cs/_site: dist
+	cd dist/cs; jekyll build
+
+dist/en/_site: dist
+	cd dist/en; jekyll build
+
+serve: serve-en
+
+serve-cs: dist
+	cd dist/cs; jekyll serve
+
+serve-en: dist
+	cd dist/en; jekyll serve
+
+clean:
+	rm -r dist

strategies-html → art_strategies.py