latin: optionally compile static include
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 14 Apr 2017 09:20:10 +0000 (11:20 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 25 May 2017 19:53:53 +0000 (21:53 +0200)
Prepare cache to avoid costly recalculation.

Makefile

index 3489370..6a46507 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -96,3 +96,8 @@ clean:
        -rm unicode-cover.inc.pl
        -rm data/browser/support.inc.pl
 
+.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' >$@
+