[Zope-CVS] CVS: Packages/MoZTop - Makefile:1.1 install.js:1.1 installed-chrome.txt:NONE

Stephan Richter srichter@cbu.edu
Wed, 8 Jan 2003 14:01:16 -0500


Update of /cvs-repository/Packages/MoZTop
In directory cvs.zope.org:/tmp/cvs-serv26830

Added Files:
	Makefile install.js 
Removed Files:
	installed-chrome.txt 
Log Message:
Moved things around to allow for a better build process. 

First untested commit of the install.js file, which manages the install and 
a Makefile, so building the XPI is simpler.


=== Added File Packages/MoZTop/Makefile ===
##############################################################################
#
# Copyright (c) 2002, 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
# Zope XPI Installer Makefile
#
# $Id: Makefile,v 1.1 2003/01/08 19:01:13 srichter Exp $
ZIP=zip
XPI_NAME=moztop.xpi

all: build-xpi

build-xpi:
	$(ZIP) -r $(XPI_NAME) moztop moztop/install.js 

build-xpi-distro: remove-cvs build-xpi

remove-cvs:
	find . -name 'CVS' | xargs rm -f


=== Added File Packages/MoZTop/install.js ===
initInstall("moztop","/srichter/Moztop","0.0.1");

moztopDir = getFolder("Chrome", "moztop");
setPackageFolder(moztopDir);

addDirectory("moztop");

registerChrome(Install.CONTENT | Install.DELAYED_CHROME, 
               getFolder(moztopDir, "content"));
registerChrome(Install.SKIN | Install.DELAYED_CHROME, 
               getFolder(moztopDir, "skin"));
registerChrome(Install.LOCALE | Install.DELAYED_CHROME, 
	       getFolder(moztopDir, "locale"));

performInstall();

=== Removed File Packages/MoZTop/installed-chrome.txt ===