summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2007-10-05 20:00:50 +0000
committerFabien Tassin <fta@sofaraway.org>2007-10-05 20:00:50 +0000
commit0c1a7e92127e4508988ffaf6adb8d299403aaaef (patch)
tree92eff134336a8f5da88d838780b1651b53d92d28 /Makefile
parentba14038c4d4272258e056504734625cb83343cf6 (diff)
* Add an exclusion list to the firefox-3.0 target, excluding Windows,
MAC, OS2 and VMS files, tests suites and binary files without sources.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c9f9740..50a9f8b 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,31 @@ DEBIAN_FF3_TARGET := firefox-orig
DEBIAN_FF3_APPNAME := firefox-3.0
DEBIAN_FF3_FILE := mozilla/browser/config/version.txt
DEBIAN_FF3_URL := 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyBrowser&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot'
+DEBIAN_FF3_EXCLUDE := \
+ mozilla/README/mozilla/README.os2 \
+ mozilla/browser/app/apprunner-beos.rsrc \
+ mozilla/browser/app/macbuild \
+ mozilla/browser/app/*-os2.ico \
+ mozilla/browser/branding/unofficial/*-os2.ico \
+ mozilla/other-licenses/branding/firefox/*-os2.ico \
+ mozilla/other-licenses/7zstub \
+ mozilla/build/unix/vms \
+ mozilla/build/package/mac_osx \
+ mozilla/build/wince \
+ mozilla/config/*.exe \
+ mozilla/intl/locale/src/os2 \
+ mozilla/toolkit/components/downloads/test \
+ mozilla/toolkit/components/passwordmgr/test \
+ mozilla/toolkit/crashreporter/client/macbuild \
+ mozilla/toolkit/crashreporter/google-breakpad/src/processor/testdata \
+ mozilla/toolkit/crashreporter/google-breakpad/src/tools/mac \
+ mozilla/toolkit/crashreporter/google-breakpad/src/tools/windows \
+ mozilla/toolkit/crashreporter/tools/win32 \
+ mozilla/toolkit/mozapps/installer/windows \
+ mozilla/toolkit/mozapps/update/src/updater/macbuild \
+ mozilla/toolkit/xre/nsNativeAppSupportOS2.* \
+ mozilla/xpinstall/test \
+ $(NULL)
DEBIAN_XUL_TARGET := xulrunner-orig
DEBIAN_XUL_APPNAME := xulrunner-1.9
@@ -127,6 +152,9 @@ $(DEBIAN_FF3_TARGET): $(MOZ_CLIENT) $(STAMP) $(DEBIAN_FF3_FILE)
DEBIAN_FF3_VERSION="`cat $(DEBIAN_FF3_FILE) | sed -e 's/pre//; s/a\([0-9]*\)/~alpha\1/; s/b\([0-9]*\)/~b\1/; s/$$/~cvs'"$$DEBIAN_FF3_DATE"'/'`" ; \
make -f $(MOZ_CLIENT) checkout MOZ_CO_PROJECT=xulbrowser MOZ_CO_DATE="$$DEBIAN_FF3_CO_DATE" ; \
fi ; \
+ for EXCL in $(DEBIAN_FF3_EXCLUDE) ; do \
+ rm -rf $$EXCL ; \
+ done ; \
rm -rf $(DEBIAN_FF3_APPNAME)-$$DEBIAN_FF3_VERSION $(DEBIAN_FF3_APPNAME)_$$DEBIAN_FF3_VERSION.orig.tar.gz && \
mkdir $(DEBIAN_FF3_APPNAME)-$$DEBIAN_FF3_VERSION && \
echo "Creating $(DEBIAN_FF3_APPNAME)-$$DEBIAN_FF3_VERSION/browser-snapshot-$$DEBIAN_FF3_DATE.tar.bz2 ..." && \