зеркало из https://github.com/mozilla/gecko-dev.git
Fix xpi packaging, so version is taken from Makefile.in and make clean removes temporaries. Bug 285418, r=aaronr
This commit is contained in:
Родитель
ba1b99dc65
Коммит
1738cfb5b2
|
@ -1 +1,4 @@
|
|||
Makefile
|
||||
xforms.js
|
||||
xforms.template
|
||||
stage
|
||||
|
|
|
@ -58,6 +58,9 @@ PACKAGE_FILE = packages-unix
|
|||
endif
|
||||
endif
|
||||
|
||||
GARBAGE += xforms.js xforms.template
|
||||
GARBAGE_DIRS += stage
|
||||
|
||||
PACKAGE_VERSION = 0.1
|
||||
|
||||
xpi:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var err = initInstall("Mozilla XForms", "XForms", "0.1");
|
||||
var err = initInstall("Mozilla XForms", "XForms", "$Version$");
|
||||
logComment("initInstall: " + err);
|
||||
|
||||
var fProgram = getFolder("Program");
|
||||
|
@ -7,9 +7,9 @@ var srComponents = $SpaceRequired$:components;
|
|||
|
||||
if (verifyDiskSpace(fProgram, srChrome + srComponents))
|
||||
{
|
||||
err = addDirectory("", "0.1", "components", fProgram, "components", true);
|
||||
err = addDirectory("", "$Version$", "components", fProgram, "components", true);
|
||||
logComment("addDirectory components: " + err);
|
||||
err = addDirectory("", "0.1", "chrome", fProgram, "chrome", true);
|
||||
err = addDirectory("", "$Version$", "chrome", fProgram, "chrome", true);
|
||||
logComment("addDirectory chrome: " + err);
|
||||
|
||||
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome", "xforms.jar"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче