[Zope-CVS] CVS: Packages/Moztop - Makefile:1.5

Paul Everitt paul@zope.com
Sun, 9 Feb 2003 02:55:37 -0500


Update of /cvs-repository/Packages/Moztop
In directory cvs.zope.org:/tmp/cvs-serv13880

Modified Files:
	Makefile 
Log Message:
Added build-jar.  It seems that the OS X installer crashes when 
on installs that copy whole files, rather than just jar files.  Since 
jar files work, we'll use them instead.


=== Packages/Moztop/Makefile 1.4 => 1.5 ===
--- Packages/Moztop/Makefile:1.4	Wed Jan 15 21:06:27 2003
+++ Packages/Moztop/Makefile	Sun Feb  9 02:55:34 2003
@@ -15,15 +15,19 @@
 #
 # $Id$
 ZIP=zip
+JAR_NAME=moztop.jar
 XPI_NAME=moztop.xpi
-MOZILLA=/opt/moz-nightly/mozilla -jsconsole
+MOZILLA=/Applications/Mozilla.app/Contents/MacOS/mozilla-bin 
 
-all: build-xpi
+all: 	build-jar build-xpi
+
+build-jar:
+	$(ZIP) -r $(JAR_NAME) moztop
 
 build-xpi:
-	$(ZIP) -r $(XPI_NAME) moztop install.js 
+	$(ZIP) -r $(XPI_NAME) $(JAR_NAME) install.js 
 
-build-xpi-distro: remove-cvs build-xpi
+build-xpi-distro: remove-cvs build-jar build-xpi
 
 remove-cvs:
 	find . -name "CVS" | xargs rm -f