latin: common tool to dump static perl include
[sheet.git] / Makefile
index 43323a15d08e1e59557e5607682e117bf4a54cc1..103a3be4fac806b6856aafd303808a1b3c3be62f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -117,6 +117,6 @@ clean:
 
 .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 $@