|
Revision 385e460b5a9738eda6a4344012bad09b431a4ee0, 362 bytes
(checked in by H. Peter Anvin <hpa@…>, 4 years ago)
|
|
Add more codepage data; support disjoint mappings
Add additional codepage data from the Unicode Consortium.
Additionally, add support for generating codepage files for the case
where the filesystem codepage and the display codepage do not match.
The standard Makefile doesn't actually do that, however.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | PERL = perl |
|---|
| 2 | CPSRC = $(wildcard *.txt) |
|---|
| 3 | GENFILES = $(patsubst %.txt,%.cp,$(CPSRC)) |
|---|
| 4 | |
|---|
| 5 | .SUFFIXES: .txt .cp |
|---|
| 6 | |
|---|
| 7 | all: $(GENFILES) |
|---|
| 8 | |
|---|
| 9 | # This generates codepage files where the display and filesystem |
|---|
| 10 | # codepages are both the same. |
|---|
| 11 | %.cp: %.txt cptable.pl UnicodeData |
|---|
| 12 | $(PERL) cptable.pl UnicodeData $< $< $@ |
|---|
| 13 | |
|---|
| 14 | tidy: |
|---|
| 15 | rm -f *.cp *.bin |
|---|
| 16 | |
|---|
| 17 | clean: tidy |
|---|
| 18 | |
|---|
| 19 | dist: tidy |
|---|
| 20 | |
|---|
| 21 | spotless: clean |
|---|