latin: optionally compile static include
[sheet.git] / Makefile
index 3489370cdbaa311a1a551bca4fdaa2c48ebbb004..6a4650775f97c725d6a76c23dcfdd7098978e89e 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' >$@
+