NAME

darcs_prebuild.pl - Script for darcs to call before building a dist dir

SYNOPSIS

perl darcs_prebuild.pl

DESCRIPTION

This is a script for darcs to call before building a dist dir or before tests. This should be customized for the particular user, but the default version does a chmod +x on all the scripts, and generates the auto-generated files which are supposed to be in the MANIFEST (README and TODO)

Set this up to be called as follows:

darcs setpref predist "perl darcs_prebuild.pl"

darcs setpref test "perl darcs_prebuild.pl && perl Build.PL && Build && Build distmeta && Build test"