tools: rename convert tools to regular mk*
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 3 Apr 2012 18:27:13 +0000 (20:27 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 10 Apr 2012 01:03:24 +0000 (03:03 +0200)
Makefile
tools/convert-allfonts
tools/mkcaniuse [moved from tools/convert-caniuse.pl with 92% similarity]
tools/mkcharinfo [moved from tools/convert-unicode.pl with 97% similarity]
tools/mkdigraphlist [moved from rfc1345convert with 96% similarity]
tools/mkttfinfo [moved from tools/convert-ttf.pl with 93% similarity]
tools/mkusage-statcounter [moved from tools/convert-stats-gs.pl with 96% similarity, mode: 0755]
tools/mkusage-wikimedia [moved from tools/convert-stats-wikimedia.pl with 98% similarity]

index 23cdb70..8666e82 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,10 @@ data/rfc1345.txt:
        wget http://www.ietf.org/rfc/rfc1345.txt -O $@
 
 digraphs.inc.pl: data/rfc1345.txt
-       ./rfc1345convert data/rfc1345.txt >$@
+       tools/mkdigraphlist data/rfc1345.txt >$@
 
 unicode-char.inc.pl: digraphs.inc.pl
-       tools/convert-unicode.pl >$@
+       tools/mkcharinfo >$@
 
 ttfsupport:
        mkdir ttfsupport
index f3ccffc..9610114 100755 (executable)
@@ -8,7 +8,7 @@ use File::Basename 'dirname';
 
 chdir dirname $0;
 
-my $convbin = './convert-ttf.pl';
+my $convbin = './mkttfinfo';
 my $outdir = '../ttfsupport';
 my @ttfpath = '~/.fonts';  # local fallbacks
 
similarity index 92%
rename from tools/convert-caniuse.pl
rename to tools/mkcaniuse
index b00a869..3def627 100755 (executable)
@@ -76,12 +76,12 @@ __END__
 
 =head1 NAME
 
-convert-caniuse - Turn Javascript data into an equivalent Perl structure
+mkcaniuse - Turn Javascript data into an equivalent Perl structure
 
 =head1 SYNOPSIS
 
        curl http://caniuse.com/data.json |
-       tools/convert-caniuse.pl > browser-support.inc.pl
+       tools/mkcaniuse.pl > browser-support.inc.pl
 
-       tools/convert-caniuse.pl auto
+       tools/mkcaniuse.pl auto
 
similarity index 97%
rename from tools/convert-unicode.pl
rename to tools/mkcharinfo
index 51e27cd..577ffb1 100755 (executable)
@@ -125,11 +125,11 @@ __END__
 
 =head1 NAME
 
-convert-unicode.pl - Gather Unicode character details in Perl array
+mkcharinfo - Gather Unicode character details in Perl array
 
 =head1 SYNOPSIS
 
-    convert-unicode > unicode-char.inc.pl
+    mkcharinfo > unicode-char.inc.pl
 
 Test by printing the description of U+0041 (latin A):
 
similarity index 96%
rename from rfc1345convert
rename to tools/mkdigraphlist
index 33b6ee9..fa67418 100755 (executable)
@@ -169,17 +169,17 @@ __END__
 
 =head1 NAME
 
-rfc1345convert - Output digraph data from RFC-1345
+mkdigraphlist - Output digraph data from RFC-1345
 
 =head1 SYNOPSIS
 
 Extract digraphs from text specifications as a perl hash:
 
-    rfc1345convert rfc1345.txt custom.txt > digraphs.inc.pl
+    mkdigraphlist rfc1345.txt custom.txt > digraphs.inc.pl
 
 Input can be the literal RFC (or similar) document:
 
-    curl http://www.ietf.org/rfc/rfc1345.txt | rfc1345convert -
+    curl http://www.ietf.org/rfc/rfc1345.txt | mkdigraphlist -
 
 Test by printing the character for DO (should be a dollar sign):
 
similarity index 93%
rename from tools/convert-ttf.pl
rename to tools/mkttfinfo
index 97a2026..f69bbbb 100755 (executable)
@@ -59,11 +59,11 @@ __END__
 
 =head1 NAME
 
-convert-ttf.pl - Writes unicode characters present in TrueType font
+mkttfinfo - Extract character coverage and metadata in TrueType font
 
 =head1 SYNOPSIS
 
-    convert-ttf <font.ttf> [<output.inc.pl>]
+    mkttfinfo <font.ttf> [<output.inc.pl>]
 
 =head1 AUTHOR
 
old mode 100644 (file)
new mode 100755 (executable)
similarity index 96%
rename from tools/convert-stats-gs.pl
rename to tools/mkusage-statcounter
index c01691d..7d699d4
@@ -108,7 +108,7 @@ __END__
 
 =head1 USAGE
 
-cat <csv data> | F<convert-stats-gs> > browser-usage-gs.inc.pl
+cat <csv data> | F<mkusage-statcounter> > browser-usage-gs.inc.pl
 
-F<convert-stats-gs> <year-month>
+F<mkusage-statcounter> <year-month>
 
similarity index 98%
rename from tools/convert-stats-wikimedia.pl
rename to tools/mkusage-wikimedia
index 1e9b1c3..c775a4a 100755 (executable)
@@ -93,5 +93,5 @@ __END__
 =head1 USAGE
 
        curl http://stats.wikimedia.org/archive/squid_reports/2010-10/SquidReportClients.htm |
-       parsesquid.pl > browser-usage.inc.pl
+       ./mkusage-wikimedia > browser-usage.inc.pl