[23114] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r22777 - trunk/athena/lib/firefox-extension

daemon@ATHENA.MIT.EDU (rbasch@MIT.EDU)
Tue Mar 4 18:05:30 2008

Date: Tue, 4 Mar 2008 18:04:57 -0500 (EST)
From: rbasch@MIT.EDU
Message-Id: <200803042304.SAA05495@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: rbasch
Date: 2008-03-04 18:04:57 -0500 (Tue, 04 Mar 2008)
New Revision: 22777

Modified:
   trunk/athena/lib/firefox-extension/Makefile.in
Log:
* athena/lib/firefox-extension/Makefile.in: Package up the chrome jar
  file properly: specify the files explicitly, and use "zip -0"
  instead of "jar" to create the archive, since we do not need a
  manifest and do not want to compress.


Modified: trunk/athena/lib/firefox-extension/Makefile.in
===================================================================
--- trunk/athena/lib/firefox-extension/Makefile.in	2008-03-04 22:51:27 UTC (rev 22776)
+++ trunk/athena/lib/firefox-extension/Makefile.in	2008-03-04 23:04:57 UTC (rev 22777)
@@ -14,17 +14,22 @@
 
 ATHEXTDIR = ${ffextdir}/athena@mit.edu
 CHROMEDIR = ${ATHEXTDIR}/chrome
-CHROMESUBDIRS = content skin
 COMPONENTS_DIR = ${ATHEXTDIR}/components
 COMPONENTS_FILES = athenaService.js
 DEFAULTS_DIR = ${ATHEXTDIR}/defaults
 PREFS_DIR = ${DEFAULTS_DIR}/preferences
 PREFS_FILES = athena.js
+CHROME_FILES = \
+  content/athena.dtd \
+  content/athena.properties \
+  content/athena.xul \
+  content/mitca.pem \
+  skin/icon.png
 
 all: athena.jar chrome.manifest
 
 athena.jar:
-	cd chrome && jar -cf athena.jar ${CHROMESUBDIRS}
+	cd chrome && rm -f athena.jar && zip -0 -r athena.jar ${CHROME_FILES}
 
 chrome.manifest: chrome.manifest.in
 	sed -e 's|chrome/\([^/]*\)/|jar:chrome/athena.jar!/\1/|' \


home help back first fref pref prev next nref lref last post