From 2aad3e04e442d8102359a44e80bc2d1379cc8008 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 22 Apr 2021 10:51:03 +0200 Subject: modernize to execute node (not legacy nodejs), and load r.js below /usr/share (not /usr/lib) --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0dde3e9..885a9d5 100644 --- a/Makefile +++ b/Makefile @@ -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~ -- cgit v1.2.3