2022-01-14 01:49:34 +00:00
|
|
|
all: countries.js flags
|
2021-04-10 14:21:38 +00:00
|
|
|
|
2022-01-13 20:10:47 +00:00
|
|
|
countries/countries.json: .SUBMODULES
|
2021-12-01 12:30:51 +00:00
|
|
|
|
2022-01-13 20:36:23 +00:00
|
|
|
countries.js: countries/countries.json .PHONY
|
2021-12-01 15:27:55 +00:00
|
|
|
python3 scripts/generate_countries_list.py countries/countries.json > countries.js
|
2021-04-10 14:21:38 +00:00
|
|
|
|
2022-01-14 01:49:34 +00:00
|
|
|
flags: .SUBMODULES
|
|
|
|
mkdir flags
|
|
|
|
cp countries/data/*.svg flags
|
|
|
|
|
2021-04-10 14:21:38 +00:00
|
|
|
clean:
|
2021-12-01 15:20:24 +00:00
|
|
|
rm -rf countries.js
|
2021-12-01 12:30:51 +00:00
|
|
|
rm -rf countries
|
2022-01-13 20:10:47 +00:00
|
|
|
|
|
|
|
.SUBMODULES:
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
|
2022-01-13 20:36:23 +00:00
|
|
|
.PHONY:
|