root/codepage/Makefile

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 
1PERL            = perl
2CPSRC           = $(wildcard *.txt)
3GENFILES        = $(patsubst %.txt,%.cp,$(CPSRC))
4
5.SUFFIXES: .txt .cp
6
7all: $(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
14tidy:
15        rm -f *.cp *.bin
16
17clean: tidy
18
19dist: tidy
20
21spotless: clean
Note: See TracBrowser for help on using the browser.