mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Fix xpi packaging, so version is taken from Makefile.in and make clean removes temporaries. Bug 285418, r=aaronr
This commit is contained in:
parent
ba1b99dc65
commit
1738cfb5b2
@ -1 +1,4 @@
|
|||||||
Makefile
|
Makefile
|
||||||
|
xforms.js
|
||||||
|
xforms.template
|
||||||
|
stage
|
||||||
|
@ -58,6 +58,9 @@ PACKAGE_FILE = packages-unix
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
GARBAGE += xforms.js xforms.template
|
||||||
|
GARBAGE_DIRS += stage
|
||||||
|
|
||||||
PACKAGE_VERSION = 0.1
|
PACKAGE_VERSION = 0.1
|
||||||
|
|
||||||
xpi:
|
xpi:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
var err = initInstall("Mozilla XForms", "XForms", "0.1");
|
var err = initInstall("Mozilla XForms", "XForms", "$Version$");
|
||||||
logComment("initInstall: " + err);
|
logComment("initInstall: " + err);
|
||||||
|
|
||||||
var fProgram = getFolder("Program");
|
var fProgram = getFolder("Program");
|
||||||
@ -7,9 +7,9 @@ var srComponents = $SpaceRequired$:components;
|
|||||||
|
|
||||||
if (verifyDiskSpace(fProgram, srChrome + srComponents))
|
if (verifyDiskSpace(fProgram, srChrome + srComponents))
|
||||||
{
|
{
|
||||||
err = addDirectory("", "0.1", "components", fProgram, "components", true);
|
err = addDirectory("", "$Version$", "components", fProgram, "components", true);
|
||||||
logComment("addDirectory components: " + err);
|
logComment("addDirectory components: " + err);
|
||||||
err = addDirectory("", "0.1", "chrome", fProgram, "chrome", true);
|
err = addDirectory("", "$Version$", "chrome", fProgram, "chrome", true);
|
||||||
logComment("addDirectory chrome: " + err);
|
logComment("addDirectory chrome: " + err);
|
||||||
|
|
||||||
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome", "xforms.jar"),
|
registerChrome(PACKAGE | DELAYED_CHROME, getFolder("Chrome", "xforms.jar"),
|
||||||
|
Loading…
Reference in New Issue
Block a user