From: Mischa POSLAWSKY Date: Thu, 27 Apr 2017 01:37:09 +0000 (+0200) Subject: termcol: make rules to setup xcolors checkout X-Git-Tag: v1.10~34 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/cbc1de6f50a19ddb875fab91fcb97ab3c65c402e termcol: make rules to setup xcolors checkout --- diff --git a/Makefile b/Makefile index 7eea34b..6e60635 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: digraphs.inc.pl unicode-cover.inc.pl countries.inc.pl data/browser 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: @@ -37,6 +37,11 @@ unicode-char.inc.pl: tools/mkcharinfo data/digraphs-rfc.inc.pl data/digraphs-shi ttfsupport/%.inc.pl: tools/mkttfinfo data/font/%.ttf $< $(word 2,$^) $@ || true +data/xcolors/themes: data/xcolors +data/xcolors: + [ -r $@/.git ] && cd $@ && git pull --ff-only + @[ -e $@ ] || git clone https://github.com/tlatsas/xcolors $@ + termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes $< $(word 2,$^)/* >$@