From b5224318ae710f5cde3d5864abad8fcdbf1e5039 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Fri, 16 Aug 2019 15:42:49 +0300 Subject: [PATCH] Fix the website build. See https://github.com/shlomif/pysolfc-website/ - do not remove. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 868c102a..1f483163 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,16 @@ dist: all_games_html rules mo rpm: all_games_html rules mo python3 setup.py bdist_rpm +DOCS_DIR = docs HTML_DIR = data/html ALL_GAMES_HTML_BASE = all_games.html ALL_GAMES_HTML = $(HTML_DIR)/$(ALL_GAMES_HTML_BASE) +ALL_GAMES_HTML__FOR_WEBSITE = $(DOCS_DIR)/$(ALL_GAMES_HTML_BASE) all_games_html: $(ALL_GAMES_HTML) -$(ALL_GAMES_HTML): rules +$(ALL_GAMES_HTML) $(ALL_GAMES_HTML__FOR_WEBSITE): rules cd $(HTML_DIR) && $(CURDIR)/scripts/all_games.py html id rules > $(ALL_GAMES_HTML_BASE) + ./scripts/all_games.py html id doc/rules bare > $(ALL_GAMES_HTML__FOR_WEBSITE) rules: cd html-src && ./gen-html.py