-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (28 loc) · 1.48 KB
/
Copy pathMakefile
File metadata and controls
47 lines (28 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.PHONY: list install install/basic install/geojson install/euromap_generation install/plotting install/devtools install/full static_data web_data prep euromap tab_type_databases knmi_type_database fortran_type_database
example:
json2tab --debug=1 --config-file=config.yaml
list:
@LC_ALL=C $(MAKE) -pRrq -f $(firstword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/(^|\n)# Files(\n|$$)/,/(^|\n)# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | grep -E -v -e '^[^[:alnum:]]' -e '^$@$$'
install/standard:
poetry install --with geojson,plotting
install: install/standard
install/basic:
poetry install
install/euromap_generation:
poetry install --with geojson,osmrequest,converters
install/devtools:
poetry install --with linting,test
install/full: install/euromap_generation, install/plotting, install/devtools
static_data: tab_type_databases
cd static_data && make
web_data: install/euromap_generation
cd web_data && make
euromap: static_data web_data
cd euromap && make
tab_type_databases: knmi_type_database fortran_type_database
knmi_type_database: static_data/turbine_database+knmi.json
static_data/turbine_database+knmi.json:
json2tab --debug=3 --inverse knmi_turbines/wind_turbine_*.tab --output static_data/turbine_database+knmi.json
fortran_type_database: static_data/turbine_database+wf101.json
static_data/turbine_database+wf101.json:
json2tab --debug=3 --inverse wf101_turbines/wind_turbine_*.tab --output static_data/turbine_database+wf101.json