mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +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
|
||||
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"),
|
||||
|
Loading…
Reference in New Issue
Block a user