Source

shlomi-fish-homepage / gen-helpers.pl

Full commit
#!/usr/bin/perl

use strict;
use warnings;

use lib "/home/shlomi/progs/wml/Latemp/latemp/trunk/multi-host-site";

use HTML::Latemp::GenMakeHelpers;

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

1;