From fbf64ee1130a6f03a063d77d99bbb88e499480e6 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 14 Sep 2008 07:54:16 +0000 Subject: [PATCH] Move storage.jsm to the 'modules' directory and exclude it from the jar. --- Makefile.common | 8 ++++++-- chrome.manifest | 2 +- {content => modules}/storage.jsm | 0 3 files changed, 7 insertions(+), 3 deletions(-) rename {content => modules}/storage.jsm (100%) diff --git a/Makefile.common b/Makefile.common index fd83e8da..fb54f4e4 100644 --- a/Makefile.common +++ b/Makefile.common @@ -13,7 +13,6 @@ JAR_TXT_FILES = ${shell find -L content skin locale \ -a ! -path '*CVS*' \ -a \( \ -path '*.js' \ - -o -path '*.jsm' \ -o -path '*.css' \ -o -path '*.xul' \ -o -path '*.html' \ @@ -28,7 +27,12 @@ JAR_BIN_FILES = ${shell find content skin \ JAR_FILES = ${JAR_BIN_FILES} ${JAR_TXT_FILES} ${DOC_FILES} JAR = chrome/${NAME}.jar -XPI_TXT_FILES = install.rdf chrome.manifest TODO AUTHORS Donators NEWS License.txt +XPI_TXT_FILES = install.rdf chrome.manifest TODO AUTHORS Donators NEWS License.txt \ + ${shell find -L modules \ + -type f \ + -a ! -path '*CVS*' \ + -a -path '*.jsm' \ + } XPI_DIRS = $(foreach f,${XPI_FILES},$(dir $f)) XPI_BIN_FILES = ${JAR} Makefile.common Makefile XPI_FILES = ${XPI_BIN_FILES} ${XPI_TXT_FILES} diff --git a/chrome.manifest b/chrome.manifest index f1d7e455..1d72d897 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -1,6 +1,6 @@ # Firefox content vimperator content/ -resource vimperator content/ +resource vimperator modules/ locale vimperator en-US locale/en-US/ skin vimperator classic/1.0 skin/ overlay chrome://browser/content/browser.xul chrome://vimperator/content/vimperator.xul diff --git a/content/storage.jsm b/modules/storage.jsm similarity index 100% rename from content/storage.jsm rename to modules/storage.jsm