| 1 | UCD:=16.0.0 |
| 2 | |
| 3 | # the sed command removes entries in the table that map to themselves, which |
| 4 | # makes the data tables a bit smaller. |
| 5 | tables: |
| 6 | yeslogic-ucd-generate case-folding-simple --rust-match ../ucd-generate/ucd-$(UCD)/ > src/case_folding_simple.rs |
| 7 | yeslogic-ucd-generate case-mapping ../ucd-generate/ucd-$(UCD)/ > src/tables.rs |
| 8 | cargo fmt |
| 9 | sed -i.bak -E '/\(([0-9]+), &\[\1\]\)/d' src/tables.rs |
| 10 | rm src/tables.rs.bak |
| 11 | |
| 12 | |
| 13 | .PHONY: tables |
| 14 |