Project

General

Profile

« Previous | Next » 

Revision 2022

input.Makefile: Maps building: Via maps cleanup: subtract: Include comment column so commented mappings are never removed

View differences:

input.Makefile
199 199
# Via maps cleanup
200 200
ifneq ($(filter maps/.%.last_cleanup,$(MAKECMDGOALS)),)
201 201
maps/.$(via).%.csv.last_cleanup: maps/$(via).%.csv $(coreMap)
202
	$(bin)/in_place $< env ignore=1 $(bin)/subtract $(word 2,$+) 0 1
202
	$(bin)/in_place $< env ignore=1 $(bin)/subtract $(word 2,$+) 0 1 2
203 203
	touch $@
204
# Include comment column so commented mappings are never removed
204 205
else
205 206
$(viaMaps): _always
206 207
	$(selfMake) $(@:maps/%=maps/.%.last_cleanup)

Also available in: Unified diff