fix: adjust makefile
This commit is contained in:
parent
b96accf9bf
commit
a8d4eef9b6
2
makefile
2
makefile
|
@ -13,7 +13,7 @@ load: $(addprefix load-,$(TABLES))
|
||||||
@$(psql) -t -A -c "SELECT FORMAT('* loaded %s', feed_file) WHERE feed_file = '$(GTFS)';"
|
@$(psql) -t -A -c "SELECT FORMAT('* loaded %s', feed_file) WHERE feed_file = '$(GTFS)';"
|
||||||
|
|
||||||
copy: $(ZHV)
|
copy: $(ZHV)
|
||||||
$(psql) -c "\copy stops(stop_seq_no,stop_type,stop_dhid,stop_parent,stop_name,stop_lat,stop_lon,stop_municipality_code,stop_municipality,stop_district_code,stop_district,stop_condition,stop_state,stop_description,stop_authority,stop_delfi_name,stop_tariff_dhid,stop_tariff_name) FROM '$<' DELIMITER ',' CSV HEADER;"
|
$(psql) -c "\copy zhv.stops(stop_seq_no,stop_type,stop_dhid,stop_parent,stop_name,stop_lat,stop_lon,stop_municipality_code,stop_municipality,stop_district_code,stop_district,stop_condition,stop_state,stop_description,stop_authority,stop_delfi_name,stop_tariff_dhid,stop_tariff_name) FROM '$<' DELIMITER ',' CSV HEADER;"
|
||||||
|
|
||||||
# -v: variable assignment, like the /set meta-command
|
# -v: variable assignment, like the /set meta-command
|
||||||
# $<: name of the firest prerequisite
|
# $<: name of the firest prerequisite
|
||||||
|
|
Loading…
Reference in New Issue