From 0641640329c49f0a5abeff0899fc48bd5ef605c9 Mon Sep 17 00:00:00 2001 From: Holger Bruch Date: Mon, 24 Jun 2024 10:23:55 +0200 Subject: [PATCH] tidy bwgesamt before processing further --- makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index dc535a9..cb5a212 100644 --- a/makefile +++ b/makefile @@ -177,9 +177,13 @@ data/gtfs/SPNV-BW.%.filtered.gtfs: data/gtfs/SPNV-BW.raw.gtfs config/gtfs-rules/ $(TRANSFORM) --transform=$(TOOL_CFG)/SPNV-BW.$*.rule $(TOOL_DATA)/SPNV-BW.raw.gtfs $(TOOL_DATA)/$(@F) ./patch_filtered_gtfs.sh "SPNV-BW.$*" "data/gtfs/$(@F)" touch $@ -data/gtfs/bwgesamt.%.filtered.gtfs: data/gtfs/bwgesamt.raw.gtfs config/gtfs-rules/bwgesamt.%.rule +data/gtfs/bwgesamt.tidied.gtfs: data/gtfs/bwgesamt.raw.gtfs + $(info tidying bwgesamt.raw GTFS feed using Patrick Brosi's gtfstidy) + $(GTFSTIDY) --fix -o $(TOOL_DATA)/gtfs/$(@F) $(TOOL_DATA)/gtfs/bwgesamt.raw.gtfs + touch $@ +data/gtfs/bwgesamt.%.filtered.gtfs: data/gtfs/bwgesamt.tidied.gtfs config/gtfs-rules/bwgesamt.%.rule $(info patching bwgesamt.$* GTFS feed using OBA GTFS Transformer & config/gtfs-rules/bwgesamt.$*.rule) - $(TRANSFORM) --transform=$(TOOL_CFG)/bwgesamt.$*.rule $(TOOL_DATA)/bwgesamt.raw.gtfs $(TOOL_DATA)/$(@F) + $(TRANSFORM) --transform=$(TOOL_CFG)/bwgesamt.$*.rule $(TOOL_DATA)/bwgesamt.tidied.gtfs $(TOOL_DATA)/$(@F) ./patch_filtered_gtfs.sh "bwgesamt.$*" "data/gtfs/$(@F)" touch $@