Skip to content

Commit be4ffc6

Browse files
committed
Makefile: Rebuild when .py scripts are changed
1 parent 05c38c8 commit be4ffc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data/crosswalk.csv:
55
wget https://github.com/codemeta/codemeta/raw/master/crosswalk.csv -O data/crosswalk.csv
66

77
# Convert crosswalk.csv to crosswalk.json so Hugo can parse it
8-
data/crosswalk.json: data/crosswalk.csv
8+
data/crosswalk.json: scripts/crosswalk_to_json.py data/crosswalk.csv
99
python3 scripts/crosswalk_to_json.py
1010

1111
# properties_description.csv file was only split off from crosswalks.csv starting with
@@ -18,5 +18,5 @@ data/properties_description/v2.0.csv:
1818
data/properties_description/v%.csv:
1919
wget https://github.com/codemeta/codemeta/raw/$*/properties_description.csv -O $@
2020

21-
data/properties_description.json: data/properties_description/v2.0.csv data/properties_description/v3.0.csv
21+
data/properties_description.json: scripts/properties_to_json.py data/properties_description/v2.0.csv data/properties_description/v3.0.csv
2222
python3 scripts/properties_to_json.py

0 commit comments

Comments
 (0)