move all generated includes into data/
[sheet.git] / tools / mkfontinfo
index a1cc44d8e1d39365de5eb8b85709da1ab4c80287..b27b779fa86766b1fc2cd7e7c0fae0351e100ec4 100755 (executable)
@@ -13,7 +13,7 @@ my @fontlist;
 
 my %cover;
 my $incsuffix = '.inc.pl';
 
 my %cover;
 my $incsuffix = '.inc.pl';
-for my $fontfile (glob 'ttfsupport/*'.$incsuffix) {
+for my $fontfile (glob 'data/font/*'.$incsuffix) {
        my ($fontid) = basename($fontfile, $incsuffix);
        my ($fontmeta, @fontrange) = do $fontfile or next;
        $fontmeta->{file} = $fontid;
        my ($fontid) = basename($fontfile, $incsuffix);
        my ($fontmeta, @fontrange) = do $fontfile or next;
        $fontmeta->{file} = $fontid;
@@ -29,6 +29,8 @@ for my $fontfile (glob 'ttfsupport/*'.$incsuffix) {
 
 my %charlist;
 
 
 my %charlist;
 
+$charlist{table}->{abc} = ['A'..'Z', 'a'..'z'];
+
 my $chartables = do 'unicode-table.inc.pl' or warn $@ || $!;
 if ($chartables) {
        while (my ($tablegroup, $grouprow) = each %{$chartables}) {
 my $chartables = do 'unicode-table.inc.pl' or warn $@ || $!;
 if ($chartables) {
        while (my ($tablegroup, $grouprow) = each %{$chartables}) {
@@ -63,7 +65,7 @@ eval {
 } or warn "Could not include count for html entities: $@";
 
 eval {
 } or warn "Could not include count for html entities: $@";
 
 eval {
-       my $agemap = do 'unicode-age.inc.pl'
+       my $agemap = do 'data/unicode-age.inc.pl'
                or warn "Could not include unicode version data: $!";
 
        use Unicode::UCD 'charinfo';
                or warn "Could not include unicode version data: $!";
 
        use Unicode::UCD 'charinfo';