TITLE ^

rebuild.pl

SYNOPSIS ^

Run a command to rebuild a set of files only if the inputs have changed, as judged by their checksums.

USAGE ^

  rebuild.pl [-v] <command> <input> <outputs>...

DISCUSSION ^

This script works by appending the line

  /* CHECKSUM: <checksum> */

to the end of all generated output files, and checking for that line before rerunning the build script.

EXAMPLE ^

See parrot/config/gen/makefiles/imcc.in for an example usage.


parrot