From 8b6a51e20b9abc0c1b04c96f1ca617756449261f Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Tue, 29 Aug 2017 16:15:22 -0700 Subject: [PATCH] Fix wildcarding for geobuf test invocation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a4b114e..b309f58 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ geobuf-test: $(addsuffix .checkbuf,$(TESTS)) # XXX Use proper makefile rules instead of a for loop %.json.checkbuf: for i in $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json); do ./tests/fc-wrap $$i | json2geobuf > $$i.pbf; done - ./tippecanoe -aD -f -o $@.mbtiles $(subst @,:,$(subst %,/,$(subst _, ,$(patsubst %.json.checkbuf,%,$(word 4,$(subst /, ,$@)))))) $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json.pbf) < /dev/null + ./tippecanoe -aD -f -o $@.mbtiles $(subst @,:,$(subst %,/,$(subst _, ,$(patsubst %.json.checkbuf,%,$(word 4,$(subst /, ,$@)))))) $(addsuffix .pbf,$(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json)) < /dev/null ./tippecanoe-decode $@.mbtiles | sed 's/checkbuf/check/g' > $@.out cmp $@.out $(patsubst %.checkbuf,%,$@) rm $@.out $@.mbtiles