mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
gnumakefile cleanup.
This commit is contained in:
parent
052318895e
commit
cbae7ebbf5
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -21,8 +21,13 @@ dist: all_games_html rules mo
|
|||
rpm: all_games_html rules mo
|
||||
python3 setup.py bdist_rpm
|
||||
|
||||
all_games_html: rules
|
||||
cd data/html && $(CURDIR)/scripts/all_games.py html id rules > all_games.html
|
||||
HTML_DIR = data/html
|
||||
ALL_GAMES_HTML_BASE = all_games.html
|
||||
ALL_GAMES_HTML = $(HTML_DIR)/$(ALL_GAMES_HTML_BASE)
|
||||
all_games_html: $(ALL_GAMES_HTML)
|
||||
|
||||
$(ALL_GAMES_HTML): rules
|
||||
cd $(HTML_DIR) && $(CURDIR)/scripts/all_games.py html id rules > $(ALL_GAMES_HTML_BASE)
|
||||
|
||||
rules:
|
||||
cd html-src && ./gen-html.py
|
||||
|
|
Loading…
Add table
Reference in a new issue