git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: drop compatibility copyright rel
[sheet.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 43323a15d08e1e59557e5607682e117bf4a54cc1..0dbde306c6d4436f3a083fe24f6242eba377bcf2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,7
@@
all: sitemap.xml data/digraphs.inc.pl data/unicode-cover.inc.pl data/countries.inc.pl data/browser data/termcol-xcolor.inc.pl
more: all data/digraphs-xorg.inc.pl
all: sitemap.xml data/digraphs.inc.pl data/unicode-cover.inc.pl data/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 data/xcolors
+download: data/DerivedAge.txt data/rfc1345.txt data/xorg-compose data/countryInfo.txt data/browser/caniuse data/browser/usage-wm.tsv data/xcolors
data/unicode-sampler
.PHONY: download
sitemap.xml: tools/mksitemap
.PHONY: download
sitemap.xml: tools/mksitemap
@@
-40,9
+40,15
@@
data/unicode-char.inc.pl: tools/mkcharinfo data/digraphs-rfc.inc.pl data/digraph
data/font/%.inc.pl: tools/mkttfinfo data/font/%.ttf
$< $(word 2,$^) $@ || true
data/font/%.inc.pl: tools/mkttfinfo data/font/%.ttf
$< $(word 2,$^) $@ || true
+data/unicode-sampler:
+ @echo git pull or clone $@
+ @[ -r $@/.git ] && cd $@ && git pull --ff-only || true
+ @[ -e $@ ] || git clone git://git.shiar.nl/unicode-sampler $@
+
data/xcolors/themes: data/xcolors
data/xcolors:
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
@[ -e $@ ] || git clone https://github.com/tlatsas/xcolors $@
data/termcol-xcolor.inc.pl: tools/mktermcol-xcolor data/xcolors/themes
@@
-94,7
+100,8
@@
data/browser: data/browser/support.inc.pl data/browser/usage-wm.inc.pl
data/browser/caniuse/data.json: data/browser/caniuse
data/browser/caniuse:
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
@[ -e $@ ] || git clone https://github.com/Fyrd/caniuse.git $@
data/browser/support.inc.pl: tools/mkcaniuse data/browser/caniuse/data.json
@@
-117,6
+124,6
@@
clean:
.SECONDEXPANSION:
.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 $@