data/xcolors/themes: data/xcolors
data/xcolors:
- [ -r $@/.git ] && cd $@ && git pull --ff-only
+ @echo git pull or clone $@
+ @[ -r $@/.git ] && cd $@ && git pull --ff-only || true
@[ -e $@ ] || git clone https://github.com/tlatsas/xcolors $@
data/termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes
data/browser/caniuse/data.json: data/browser/caniuse
data/browser/caniuse:
- [ -r $@/.git ] && cd $@ && git pull --ff-only
+ @echo git pull or clone $@
+ @[ -r $@/.git ] && cd $@ && git pull --ff-only || true
@[ -e $@ ] || git clone https://github.com/Fyrd/caniuse.git $@
data/browser/support.inc.pl: tools/mkcaniuse data/browser/caniuse/data.json
.SECONDEXPANSION:
-data/writing-latn.inc.pl: $$(@F)
- perl -MData::Dumper -wE 'my @t = do "$<" or die $$@; print Data::Dumper->new([\@t])->Terse(1)->Quotekeys(0)->Indent(1)->Dump' | sponge $@
+data/writing-latn.inc.pl: tools/perlinc-static $$(@F)
+ $< $(word 2,$^) | sponge $@