/*
* ======== package.bld ========
*
*/
/* all releases get the docs */
Pkg.otherFiles = [
"docs",
"link.xdt",
"package.bld",
];
/*
* Add a "production" release of the name of the package, but with
* underscores replacing dots, and ending with ",production". This release will
* only have the actual codecs.
*/
if(arguments[0] == "prod")
{
productionRelease = Pkg.addRelease(Pkg.name.replace(/\./g, '_') + ",production");
productionRelease.attrs.label = "production";
productionRelease.otherFiles = ["lib/dmjpge_tigem.l64P"];
Pkg.defaultRelease = productionRelease;
}
/*
* Add a "evaluation" release of the name of the package, but with
* underscores replacing dots, and ending with ",evaluation". This release will
* only have the watermarked codecs.
*/
if(arguments[0] == "eval")
{
evaluationRelease = Pkg.addRelease(Pkg.name.replace(/\./g, '_') + ",evaluation");
evaluationRelease.attrs.label = "evaluation";
evaluationRelease.otherFiles = ["lib/watermark"];
Pkg.defaultRelease = evaluationRelease;
}