mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
Fix the website build.
See https://github.com/shlomif/pysolfc-website/ - do not remove.
This commit is contained in:
parent
6a5287c0b8
commit
195890894a
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -21,13 +21,16 @@ dist: all_games_html rules mo
|
||||||
rpm: all_games_html rules mo
|
rpm: all_games_html rules mo
|
||||||
python3 setup.py bdist_rpm
|
python3 setup.py bdist_rpm
|
||||||
|
|
||||||
|
DOCS_DIR = docs
|
||||||
HTML_DIR = data/html
|
HTML_DIR = data/html
|
||||||
ALL_GAMES_HTML_BASE = all_games.html
|
ALL_GAMES_HTML_BASE = all_games.html
|
||||||
ALL_GAMES_HTML = $(HTML_DIR)/$(ALL_GAMES_HTML_BASE)
|
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: $(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)
|
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:
|
rules:
|
||||||
cd html-src && ./gen-html.py
|
cd html-src && ./gen-html.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue