Source

winapt / site / wml / gen-helpers.pl

Full commit
#!/usr/bin/perl

use strict;
use warnings;

use HTML::Latemp::GenMakeHelpers;

my $generator = 
    HTML::Latemp::GenMakeHelpers->new(
        'hosts' =>
        [ 
            map 
            { 
                +{ 'id' => $_, 'source_dir' => "src/$_", 
                   'dest_dir' => "\$(ALL_DEST_BASE)/$_",
               }, 
            } 
            (qw(common mysite))
        ]
    );

$generator->process_all();

1;