diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-04-22 10:51:03 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-04-22 10:51:03 +0200 |
commit | 2aad3e04e442d8102359a44e80bc2d1379cc8008 (patch) | |
tree | 681e306d4a36208bff625d6dc8a1f25c9e2175b6 /Makefile | |
parent | e50f1caa326b27dc6b10e4103cf25109f189a7a4 (diff) |
modernize to execute node (not legacy nodejs), and load r.js below /usr/share (not /usr/lib)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -14,9 +14,8 @@ lists = $(patsubst %,list-%,\ all: build-compact -# TODO: Call node (not nodejs) when Nodejs 6 (Debian Buster) is commonly used build-compact: - nodejs /usr/lib/nodejs/requirejs/r.js -o bin/build.js + node /usr/share/nodejs/requirejs/r.js -o bin/build.js jq --tab --sort-keys -c '.features|=sort_by(.geometry.type)|.features|=sort_by(.properties.name)' \ < build/data/staff.json \ > build/data/staff.json~ |