Process variables for pre-/postGenerateCommands.
Don't run postBuildCommands for up to date targets.
Implement support for $ROOT_PACKAGE_DIR and $<PACK_NAME>_PACKAGE_DIR variables. Fixes #260.

PACK_NAME must be all uppercase and dashes (-) must be replaced by underscores (_).