Checkout at data/xcolors defined in makefile but no longer hardcoded in
parser tool.
ttfsupport/%.inc.pl: tools/mkttfinfo data/font/%.ttf
$< $(word 2,$^) $@ || true
-termcol-xcolor.inc.pl: tools/mktermcol-xcolor
- $< >$@
+termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes
+ $< $(word 2,$^)/* >$@
.SECONDARY:
data/font/%.ttf:
say '+{';
my @names;
-for my $path (glob 'data/xcolors/themes/*') {
- open my $theme, '<', $path;
+for my $path (@ARGV) {
+ open my $theme, '<', $path or do {
+ warn "could not open $path: $!\n";
+ next;
+ };
(my $name = $path) =~ s{.*/}{}; # basename
my (%pal, @pal);