Updated Makefile
authorHugo Monteiro <hugo.monteiro@fct.unl.pt>
Mon, 29 Jun 2009 13:56:25 +0000 (14:56 +0100)
committerHugo Monteiro <hugo.monteiro@fct.unl.pt>
Mon, 29 Jun 2009 13:56:25 +0000 (14:56 +0100)
 * removed unpacked sources from xpi file
 * added clean and chrome/dspam.js targets

Makefile
chrome/content/contents.rdf
chrome/dspam.jar

index 7a87470..a40267d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,8 @@
-../dspam-thunderbird-extension.xpi:
-       zip -r ../dspam-thunderbird-extension.xpi * -x Makefile 
+../dspam-thunderbird-extension.xpi: chrome/dspam.jar
+       zip ../dspam-thunderbird-extension.xpi * chrome/dspam.jar -x Makefile
+
+chrome/dspam.jar:
+       cd chrome && zip -r dspam.jar content locale skin && cd ..
+
+clean:
+       rm -f ../dspam-thunderbird-extension.xpi chrome/dspam.jar
index a79a9ae..79e3089 100644 (file)
@@ -9,7 +9,7 @@
   <!-- package information -->
   <RDF:Description about="urn:mozilla:package:dspam"
         chrome:displayName="DSPAM Extension"
-        chrome:author="Hugo Monteiro"
+        chrome:author="The DSPAM Comunnity Project"
         chrome:name="dspam"
         chrome:description="Reports spam/ham to DSPAM" 
         chrome:settingsURL="chrome://dspam/content/options.xul"
index 6b39161..8748be3 100644 (file)
Binary files a/chrome/dspam.jar and b/chrome/dspam.jar differ