| parrotcode: rebuild.pl | |
| Contents | Compilers |

rebuild.pl

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

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

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.

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