Project

General

Profile

« Previous | Next » 

Revision 6597

mappings/Makefile: Split .Veg+-VegCore.csv.last_cleanup and .VegX-VegCore.csv.last_cleanup into separate targets so their recipes can be different

View differences:

mappings/Makefile
38 38
	$(MAKE) VegCore-VegBIEN.unsourced_terms.csv
39 39
.PRECIOUS: .VegCore.csv.last_cleanup
40 40

  
41
.Veg+-VegCore.csv.last_cleanup .VegX-VegCore.csv.last_cleanup: \
42
.%.last_cleanup: % $(dict)
41
.Veg+-VegCore.csv.last_cleanup: .%.last_cleanup: % $(dict)
43 42
	$(bin)/in_place $< $(bin)/translate 1 $(dict)
44 43
	$(bin)/in_place $< $(bin)/sort_map
45 44
	touch $@
46 45
# can't canon because this would remove ? prefixes
47
.PRECIOUS: .Veg+-VegCore.csv.last_cleanup .VegX-VegCore.csv.last_cleanup
46
.PRECIOUS: .Veg+-VegCore.csv.last_cleanup
48 47

  
48
.VegX-VegCore.csv.last_cleanup: .%.last_cleanup: % $(dict)
49
	$(bin)/in_place $< $(bin)/translate 1 $(dict)
50
	$(bin)/in_place $< $(bin)/sort_map
51
	touch $@
52
# can't canon because this would remove ? prefixes
53
.PRECIOUS: .VegX-VegCore.csv.last_cleanup
54

  
49 55
.VegCore-VegBIEN.csv.last_cleanup: .%.last_cleanup: % $(dict) $(vocab)
50 56
	$(bin)/in_place $< $(bin)/translate 0 $(dict)
51 57
	$(bin)/in_place $< $(bin)/canon 0 $(vocab)

Also available in: Unified diff