-all: digraphs.inc.pl unicode-cover.inc.pl countries.inc.pl data/browser termcol-xcolor.inc.pl
+all: digraphs.inc.pl unicode-cover.inc.pl countries.inc.pl data/browser data/termcol-xcolor.inc.pl
more: all data/digraphs-xorg.inc.pl
-download: data/DerivedAge.txt data/rfc1345.txt data/xorg-compose data/countryInfo.txt data/browser/caniuse data/browser/usage-wm.tsv
+download: data/DerivedAge.txt data/rfc1345.txt data/xorg-compose data/countryInfo.txt data/browser/caniuse data/browser/usage-wm.tsv data/xcolors
.PHONY: download
data/DerivedAge.txt:
ttfsupport/%.inc.pl: tools/mkttfinfo data/font/%.ttf
$< $(word 2,$^) $@ || true
-termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes
+data/xcolors/themes: data/xcolors
+data/xcolors:
+ [ -r $@/.git ] && cd $@ && git pull --ff-only
+ @[ -e $@ ] || git clone https://github.com/tlatsas/xcolors $@
+
+data/termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes
$< $(word 2,$^)/* >$@
.SECONDARY: