~mozillateam/firefox/firefox.disco

« back to all changes in this revision

Viewing changes to debian/build/rules.mk

  • Committer: Chris Coulson
  • Date: 2013-06-26 16:48:05 UTC
  • Revision ID: chris.coulson@canonical.com-20130626164805-780fbdp452qapeja
* New upstream release from the beta channel (FIREFOX_23_0b1_BUILD1)
* Build conflict on python-progressbar, as having this installed causes the
  jit test harness to fail
  - update debian/control.in
* Disable unsupported W3C webgl tests
  - update debian/testing/extra/mochitest/mochitest.json
* Refresh paths for a11y tests after landing of bmo: #854868
  - update debian/testing/extra/mochitest/mochitest-chrome.json
* Make firefox-globalmenu a real transitional package
  - update debian/control.in
  - update debian/build/mozbuild.mk
* Just test the selected locale on all channels in test_langpack_chrome.js,
  rather than testing we get a correctly translated string. This is just
  way too fragile
  - update debian/testing/extra/xpcshell/package-tests/test_langpack_chrome.js
  - update d/p/test-integration/automation-output-junit-xml.patch
  - update debian/patches/unity-menubar.patch
  - update debian/patches/dont-override-general-useragent-locale.patch
  - update debian/patches/no_neon_on_arm.patch
* Drop crashtest-no-network-access.patch as the test seems to have been
  removed from the tree
* Always build the crash reporter and Breakpad symbols on supported
  architectures, even if it is disabled at run time. Will hopefully avoid
  surprises by the time we reach beta (where the crash reporter is enabled)
  - update debian/rules
  - update debian/build/mozvars.mk
  - update debian/build/mozbuild.mk
* Rename mozbuild.mk => rules.mk and mozvars.mk => config.mk
* Shut up lintian
  - update debian/copyright
* Make the transitional globalmenu package priority extra, section oldlibs
  - update debian/control.in
* Make the testsuite priority extra, section misc
  - update debian/control.in
* The testsuite shouldn't depend on essential package libc-bin
  - update debian/control.in
* Override symlink-is-self-recursive warning in the testsuite, as this is
  intentional
  - add debian/firefox-testsuite.lintian-overrides.in
* Remove the executable bit from the testsuite zip file
  - update debian/build/rules.mk
* Remove the executable bit from searchplugins
  - update debian/build/rules.mk
* Silence an embedded-library warning and some image-file-in-usr-lib warnings
  - update debian/firefox.lintian-overrides.in
* Drop firefox-gnome-support. It was only depending on libraries that are
  already guaranteed to exist when firefox is installed (mostly, glib).
  Firefox has no need to depend on libnotify for the time being either, but
  if it does again, that dependency should just be on the main package
  - update debian/control.in
  - update debian/build/rules.mk
  - remove debian/firefox-gnome-support.install.in
* Only blacklist Firefox in Apport on official builds
  - update debian/apport/blacklist.in
  - update debian/build/rules.mk
* Merge in latest desktop file translations
  - update debian/firefox.desktop.in
* Refresh patches
  - update debian/patches/dont-override-general-useragent-locale.patch
  - update debian/patches/no_neon_on_arm.patch
  - update d/p/test-integration/automation-output-junit-xml.patch
  - update d/p/test-overrides/disable-failing-python-tests.patch
  - update debian/patches/unity-menubar.patch
  - update debian/patches/fix-broken-langpack-install-manifests.patch
* Disable intl.locale.matchOS in test_bug848297.js
  - add d/p/test-fixes/xpcshell-chrome-fix-test_bug848297-with-locale-matchOS.patch
  - update debian/patches/series
* Write xpcshell test duration to the JUnit results when the test fails
  - add d/p/test-integration/xpcshell-write-time-for-failed-test.patch
  - update debian/patches/series
* Update test-fixes/mochitest-browser-plugincrash-with-no-crashreporter.patch
  to just not include the test on !MOZ_CRASHREPORTER builds
* Fix build-time xpcshell tests after landing of bmo: 597064, by
  using the python virtualenv provided by the upstream build system
  - update debian/build/testsuite.mk
  - update debian/build/rules.mk
* Fix broken Bulgarian language pack
  - update debian/patches/fix-broken-langpack-install-manifests.patch
* new upstream release from the beta channel (firefox_22_0b6_build1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
# Various build defaults
4
 
# 1 = Enable crashreporter (if supported)
5
 
MOZ_ENABLE_BREAKPAD     ?= 0
6
 
# 1 = Disable official branding and crash reporter (the crash reporter builds but is not enabled in application.ini)
7
 
MOZ_BUILD_UNOFFICIAL    ?= 1
8
 
# 1 = Build without jemalloc suitable for valgrind debugging
9
 
MOZ_VALGRIND            ?= 0
10
 
# 1 = Profile guided build
11
 
MOZ_BUILD_PGO           ?= 0
12
 
# 1 = Build and run the testsuite
13
 
MOZ_WANT_UNIT_TESTS     ?= 0
14
 
# 1 = Turn on debugging bits and disable optimizations
15
 
MOZ_DEBUG               ?= 0
16
 
# 1 = Disable optimizations
17
 
MOZ_NO_OPTIMIZE         ?= 0
18
 
 
19
3
# We need this to execute before the debian/control target gets called
20
4
clean::
21
5
        cp debian/control debian/control.old
35
19
MOZ_OBJDIR              := $(DEB_BUILDDIR)/obj-$(DEB_HOST_GNU_TYPE)
36
20
MOZ_DISTDIR             := $(MOZ_OBJDIR)/$(MOZ_MOZDIR)/dist
37
21
 
38
 
# The package name
39
 
MOZ_PKG_NAME            := $(shell dpkg-parsechangelog | sed -n 's/^Source: *\(.*\)$$/\1/ p')
40
 
# The binary name to use (derived from the package name by default)
41
 
MOZ_APP_NAME            ?= $(MOZ_PKG_NAME)
42
 
 
43
 
# Define other variables used throughout the build
44
 
MOZ_DEFAULT_APP_NAME    ?= $(MOZ_PKG_BASENAME)
45
 
MOZ_APP_BASENAME        ?= $(shell echo $(MOZ_APP_NAME) | sed -n 's/\-.\|\<./\U&/g p')
46
 
MOZ_DEFAULT_APP_BASENAME ?= $(shell echo $(MOZ_DEFAULT_APP_NAME) | sed -n 's/\-.\|\<./\U&/g p')
47
 
 
48
22
ifeq (,$(MOZ_APP))
49
23
$(error "Need to set MOZ_APP")
50
24
endif
78
52
MOZ_INCDIR              := usr/include/$(MOZ_APP_NAME)
79
53
MOZ_IDLDIR              := usr/share/idl/$(MOZ_APP_NAME)
80
54
MOZ_SDKDIR              := usr/lib/$(MOZ_APP_NAME)-devel
81
 
MOZ_ADDONDIR            := usr/lib/$(MOZ_APP_NAME)-addons
 
55
MOZ_ADDONDIR    := usr/lib/$(MOZ_APP_NAME)-addons
82
56
 
83
57
MOZ_APP_SUBDIR  ?=
84
58
 
94
68
 
95
69
DEB_AUTO_UPDATE_DEBIAN_CONTROL  = no
96
70
 
97
 
MOZ_PYTHON              := $(shell which python)
98
 
VIRTENV_PYTHON          := $(CURDIR)/debian/_virtualenv/bin/python
 
71
VIRTENV_PATH    := $(CURDIR)/$(MOZ_OBJDIR)/$(MOZ_MOZDIR)/_virtualenv
 
72
MOZ_PYTHON              := $(VIRTENV_PATH)/bin/python
99
73
DISTRIB                 := $(shell lsb_release -i -s)
100
74
 
101
75
CFLAGS                  := -g
106
80
MOZ_WANT_UNIT_TESTS = 0
107
81
endif
108
82
 
109
 
ifeq (1,$(MOZ_VALGRIND))
110
 
MOZ_BUILD_UNOFFICIAL = 1
111
 
endif
112
 
 
113
 
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
114
 
MOZ_BUILD_PGO = 0
115
 
MOZ_NO_OPTIMIZE = 1
116
 
endif
117
 
 
118
 
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
119
 
MOZ_NO_OPTIMIZE = 1
120
 
MOZ_DEBUG = 1
121
 
MOZ_BUILD_UNOFFICIAL = 1
122
 
endif
123
 
 
124
83
include $(CURDIR)/debian/build/testsuite.mk
125
84
 
126
 
ifneq ($(MOZ_APP_NAME)$(MOZ_APP_BASENAME),$(MOZ_DEFAULT_APP_NAME)$(MOZ_DEFAULT_APP_BASENAME))
127
 
# If we change MOZ_APP_NAME or MOZ_APP_BASENAME, don't use official branding
128
 
MOZ_BUILD_UNOFFICIAL = 1
129
 
endif
130
 
 
131
85
# enable the crash reporter only on i386, amd64 and armel
132
86
ifeq (,$(filter i386 amd64 armhf,$(DEB_HOST_ARCH)))
133
87
MOZ_ENABLE_BREAKPAD = 0
140
94
 
141
95
# Ensure the crash reporter gets disabled for derivatives
142
96
ifneq (Ubuntu, $(DISTRIB))
143
 
MOZ_ENABLE_BREAKPAD = 0
 
97
MOZ_BUILD_OFFICIAL = 0
144
98
endif
145
99
 
146
100
MOZ_DISPLAY_NAME = $(shell cat $(DEB_SRCDIR)/$(MOZ_BRANDING_DIR)/locales/en-US/brand.properties \
161
115
ifeq (Ubuntu, $(DISTRIB))
162
116
export MOZ_UA_VENDOR=Ubuntu
163
117
endif
164
 
ifneq (1,$(MOZ_BUILD_UNOFFICIAL))
165
 
export BUILD_OFFICIAL=1
166
 
endif
167
 
ifeq (1,$(MOZ_ENABLE_BREAKPAD))
 
118
ifeq (1,$(MOZ_BUILD_OFFICIAL))
168
119
# Needed to enable crashreported in application.ini
169
120
export MOZILLA_OFFICIAL=1
170
121
endif
175
126
LANGPACK_DIR := $(DEB_HOST_GNU_SYSTEM)-$(DEB_HOST_GNU_CPU)/xpi
176
127
endif
177
128
 
178
 
MOZ_PKG_SUPPORT_RECOMMENDS ?= $(MOZ_PKG_NAME)-globalmenu
179
 
MOZ_PKG_SUPPORT_SUGGESTS ?= $(MOZ_PKG_NAME)-gnome-support
 
129
MOZ_PKG_SUPPORT_SUGGESTS ?=
180
130
 
181
131
# Defines used for the Mozilla text preprocessor
182
132
MOZ_DEFINES +=  -DMOZ_LIBDIR="$(MOZ_LIBDIR)" -DMOZ_APP_NAME="$(MOZ_APP_NAME)" -DMOZ_APP_BASENAME="$(MOZ_APP_BASENAME)" \
192
142
ifeq (1, $(MOZ_ENABLE_BREAKPAD))
193
143
MOZ_DEFINES += -DMOZ_ENABLE_BREAKPAD
194
144
endif
 
145
ifeq (1, $(MOZ_BUILD_OFFICIAL))
 
146
MOZ_DEFINES += -DMOZ_BUILD_OFFICIAL
 
147
endif
195
148
ifeq (1, $(MOZ_VALGRIND))
196
149
MOZ_DEFINES += -DMOZ_VALGRIND
197
150
endif
255
208
        sed -e 's/@MOZ_PKG_NAME@/$(MOZ_PKG_NAME)/g' < debian/control.tmp >> debian/control && rm -f debian/control.tmp
256
209
 
257
210
$(pkgname_subst_files): $(foreach file,$(pkgname_subst_files),$(subst $(MOZ_PKG_NAME),$(MOZ_PKG_BASENAME),$(file).in))
258
 
        PYTHONDONTWRITEBYTECODE=1 $(MOZ_PYTHON) $(CURDIR)/debian/build/Preprocessor.py -Fsubstitution --marker="%%" $(MOZ_DEFINES) $(CURDIR)/$(subst $(MOZ_PKG_NAME),$(MOZ_PKG_BASENAME),$@.in) > $(CURDIR)/$@
 
211
        PYTHONDONTWRITEBYTECODE=1 python $(CURDIR)/debian/build/Preprocessor.py -Fsubstitution --marker="%%" $(MOZ_DEFINES) $(CURDIR)/$(subst $(MOZ_PKG_NAME),$(MOZ_PKG_BASENAME),$@.in) > $(CURDIR)/$@
259
212
 
260
213
$(appname_subst_files): $(foreach file,$(appname_subst_files),$(subst $(MOZ_APP_NAME),$(MOZ_PKG_BASENAME),$(file).in))
261
 
        PYTHONDONTWRITEBYTECODE=1 $(MOZ_PYTHON) $(CURDIR)/debian/build/Preprocessor.py -Fsubstitution --marker="%%" $(MOZ_DEFINES) $(CURDIR)/$(subst $(MOZ_APP_NAME),$(MOZ_PKG_BASENAME),$@.in) > $(CURDIR)/$@
 
214
        PYTHONDONTWRITEBYTECODE=1 python $(CURDIR)/debian/build/Preprocessor.py -Fsubstitution --marker="%%" $(MOZ_DEFINES) $(CURDIR)/$(subst $(MOZ_APP_NAME),$(MOZ_PKG_BASENAME),$@.in) > $(CURDIR)/$@
262
215
 
263
216
%.pc: WCHAR_CFLAGS = $(shell cat $(MOZ_OBJDIR)/config/autoconf.mk | grep WCHAR_CFLAGS | sed 's/^[^=]*=[[:space:]]*\(.*\)$$/\1/')
264
217
%.pc: %.pc.in debian/stamp-makefile-build
265
 
        PYTHONDONTWRITEBYTECODE=1 $(MOZ_PYTHON) $(CURDIR)/debian/build/Preprocessor.py -Fsubstitution --marker="%%" $(MOZ_DEFINES) -DWCHAR_CFLAGS="$(WCHAR_CFLAGS)" $(CURDIR)/$< > $(CURDIR)/$@
 
218
        PYTHONDONTWRITEBYTECODE=1 python $(CURDIR)/debian/build/Preprocessor.py -Fsubstitution --marker="%%" $(MOZ_DEFINES) -DWCHAR_CFLAGS="$(WCHAR_CFLAGS)" $(CURDIR)/$< > $(CURDIR)/$@
266
219
 
267
220
make-buildsymbols: debian/stamp-makebuildsymbols
268
221
debian/stamp-makebuildsymbols: debian/stamp-makefile-build
269
 
ifeq (1, $(MOZ_ENABLE_BREAKPAD))
270
222
        $(MAKE) -C $(MOZ_OBJDIR) buildsymbols MOZ_SYMBOLS_EXTRA_BUILDID=$(shell date -d "`dpkg-parsechangelog | grep Date: | sed -e 's/^Date: //'`" +%y%m%d%H%M%S)-$(DEB_HOST_GNU_CPU)
271
 
endif
272
223
        @touch $@
273
224
 
274
225
make-testsuite: debian/stamp-maketestsuite
275
226
debian/stamp-maketestsuite: debian/stamp-makefile-build
276
227
ifneq ($(MOZ_APP_NAME),$(MOZ_DEFAULT_APP_NAME))
277
 
        PYTHONDONTWRITEBYTECODE=1 $(MOZ_PYTHON) $(CURDIR)/debian/build/fix-mozinfo-appname.py $(MOZ_OBJDIR)/$(MOZ_MOZDIR)/mozinfo.json $(MOZ_DEFAULT_APP_NAME)
 
228
        PYTHONDONTWRITEBYTECODE=1 python $(CURDIR)/debian/build/fix-mozinfo-appname.py $(MOZ_OBJDIR)/$(MOZ_MOZDIR)/mozinfo.json $(MOZ_DEFAULT_APP_NAME)
278
229
endif
279
230
        $(MAKE) -C $(MOZ_OBJDIR) package-tests
280
231
ifneq (,$(wildcard debian/testing/extra))
296
247
        install $(MOZ_DISTDIR)/$(MOZ_APP_NAME)-$(MOZ_VERSION).en-US.linux-*.tests.zip debian/tmp/$(MOZ_LIBDIR)/testing
297
248
        @touch $@
298
249
 
299
 
make-langpack-xpis: $(foreach target,$(shell sed -n 's/\#.*//;/^$$/d;s/\([^\:]*\)\:\?.*/\1/ p' < $(CURDIR)/debian/config/locales.shipped),debian/stamp-make-langpack-xpi-$(target))
 
250
$(VIRTENV_PATH)/bin/compare-locales:
 
251
        cd $(CURDIR)/$(MOZ_MOZDIR)/python/compare-locales; $(MOZ_PYTHON) $(CURDIR)/$(MOZ_MOZDIR)/python/compare-locales/setup.py install
 
252
 
 
253
make-langpack-xpis: $(VIRTENV_PATH)/bin/compare-locales $(foreach target,$(shell sed -n 's/\#.*//;/^$$/d;s/\([^\:]*\)\:\?.*/\1/ p' < $(CURDIR)/debian/config/locales.shipped),debian/stamp-make-langpack-xpi-$(target))
300
254
debian/stamp-make-langpack-xpi-%:
301
255
        @echo ""
302
256
        @echo ""
306
260
        rm -rf $(CURDIR)/debian/l10n-mergedirs/$*
307
261
        mkdir -p $(CURDIR)/debian/l10n-mergedirs/$*
308
262
 
309
 
        @export PATH=$(CURDIR)/debian/_virtualenv/bin/:$$PATH ; \
 
263
        @export PATH=$(VIRTENV_PATH)/bin/:$$PATH ; \
310
264
        cd $(MOZ_OBJDIR)/$(MOZ_APP)/locales ; \
311
265
                $(MAKE) merge-$* LOCALE_MERGEDIR=$(CURDIR)/debian/l10n-mergedirs/$* || exit 1 ; \
312
266
                $(MAKE) langpack-$* LOCALE_MERGEDIR=$(CURDIR)/debian/l10n-mergedirs/$* || exit 1;
341
295
        install -m 0644 $(CURDIR)/debian/apport/blacklist $(CURDIR)/debian/$(MOZ_PKG_NAME)/etc/apport/blacklist.d/$(MOZ_PKG_NAME)
342
296
        install -m 0644 $(CURDIR)/debian/apport/native-origins $(CURDIR)/debian/$(MOZ_PKG_NAME)/etc/apport/native-origins.d/$(MOZ_PKG_NAME)
343
297
 
344
 
GNOME_SUPPORT_FILES = libmozgnome.so
345
298
binary-post-install/$(MOZ_PKG_NAME):: install-searchplugins-,$(MOZ_PKG_NAME)
346
 
        $(foreach file,$(GNOME_SUPPORT_FILES),rm -fv debian/$(MOZ_PKG_NAME)/$(MOZ_LIBDIR)/components/$(file);) true
347
299
 
348
300
MOZ_LANGPACK_TARGETS := $(shell sed -n 's/[^\:]*\:\?\(.*\)/\1/ p' < debian/config/locales.shipped | uniq)
349
301
$(patsubst %,binary-post-install/$(MOZ_PKG_NAME)-locale-%,$(MOZ_LANGPACK_TARGETS)):: binary-post-install/$(MOZ_PKG_NAME)-locale-%: install-langpack-xpis-% install-searchplugins-%
352
304
        rm -f debian/$(MOZ_PKG_NAME)-dev/$(MOZ_INCDIR)/nspr/md/_linux.cfg
353
305
        dh_link -p$(MOZ_PKG_NAME)-dev $(MOZ_INCDIR)/nspr/prcpucfg.h $(MOZ_INCDIR)/nspr/md/_linux.cfg
354
306
 
355
 
binary-post-install/%::
 
307
$(patsubst %,binary-post-install/%,$(DEB_ALL_PACKAGES)) :: binary-post-install/%:
356
308
        find debian/$* -name .mkdir.done -delete
357
309
 
358
310
install-langpack-xpis-%:
361
313
        dh_installdirs -p$(MOZ_PKG_NAME)-locale-$* $(MOZ_ADDONDIR)/extensions
362
314
        @for lang in $(shell grep $*$$ debian/config/locales.shipped | sed -n 's/\([^\:]*\)\:\?.*/\1/ p' | tr '\n' ' '); \
363
315
        do \
364
 
                id=`PYTHONDONTWRITEBYTECODE=1 $(MOZ_PYTHON) $(CURDIR)/debian/build/xpi-id.py $(CURDIR)/$(MOZ_DISTDIR)/$(LANGPACK_DIR)/$(MOZ_APP_NAME)-$(MOZ_VERSION).$$lang.langpack.xpi 2>/dev/null`; \
 
316
                id=`PYTHONDONTWRITEBYTECODE=1 python $(CURDIR)/debian/build/xpi-id.py $(CURDIR)/$(MOZ_DISTDIR)/$(LANGPACK_DIR)/$(MOZ_APP_NAME)-$(MOZ_VERSION).$$lang.langpack.xpi 2>/dev/null`; \
365
317
                echo "Installing $(MOZ_APP_NAME)-$(MOZ_VERSION).$$lang.langpack.xpi to $$id.xpi in to $(MOZ_PKG_NAME)-locale-$*"; \
366
318
                install -m 0644 $(CURDIR)/$(MOZ_DISTDIR)/$(LANGPACK_DIR)/$(MOZ_APP_NAME)-$(MOZ_VERSION).$$lang.langpack.xpi \
367
319
                        $(CURDIR)/debian/$(MOZ_PKG_NAME)-locale-$*/$(MOZ_ADDONDIR)/extensions/$$id.xpi; \
432
384
        @$(if $(wildcard debian/searchplugins),$(call CUSTOMIZE_SEARCHPLUGINS,$(LANGUAGES),$(PKGNAME)))
433
385
        @echo ""
434
386
 
 
387
$(patsubst %,binary-fixup/%,$(DEB_ALL_PACKAGES)) :: binary-fixup/%:
 
388
        find debian/$(cdbs_curpkg) -type f -perm -5 \( -name '*.zip' -or -name '*.xml' \) -print0 2>/dev/null | xargs -0r chmod 644
 
389
 
 
390
common-binary-fixup-arch::
 
391
        $(foreach pkg,$(MOZ_PKG_NAMES),$(foreach file,$(MOZ_EXECUTABLES_$(pkg)),chmod a+x debian/$(pkg)/$(file);))
 
392
 
435
393
binary-predeb/$(MOZ_PKG_NAME)::
436
394
        $(foreach lib,libsoftokn3.so libfreebl3.so libnssdbm3.so, \
437
395
                LD_LIBRARY_PATH=debian/$(MOZ_PKG_NAME)/$(MOZ_LIBDIR):$$LD_LIBRARY_PATH \
438
396
                $(MOZ_DISTDIR)/bin/shlibsign -v -i debian/$(MOZ_PKG_NAME)/$(MOZ_LIBDIR)/$(lib);)
439
397
 
440
 
common-binary-predeb-arch::
441
 
        $(foreach pkg,$(MOZ_PKG_NAMES),$(foreach file,$(MOZ_EXECUTABLES_$(pkg)),chmod a+x debian/$(pkg)/$(file);))
442
 
        # we want the gnome dependencies not to be in the main package at shlibdeps runtime, hence we dont
443
 
        # install them at binary-install/* stage, but copy them over _after_ the shlibdeps had been generated
444
 
        $(foreach file,$(GNOME_SUPPORT_FILES),mv debian/$(MOZ_PKG_NAME)-gnome-support/$(MOZ_LIBDIR)/components/$(file) debian/$(MOZ_PKG_NAME)/$(MOZ_LIBDIR)/components/;) true
445
 
 
446
398
mozconfig: debian/config/mozconfig
447
399
        cp $< $@
448
400
 
449
 
create-virtualenv: $(VIRTENV_PYTHON)
450
 
$(VIRTENV_PYTHON):
451
 
        mkdir -p debian/_virtualenv
452
 
        $(MOZ_PYTHON) $(CURDIR)/$(MOZ_MOZDIR)/python/virtualenv/virtualenv.py --system-site-packages $(CURDIR)/debian/_virtualenv
453
 
        cd $(CURDIR)/$(MOZ_MOZDIR)/python/compare-locales; $(VIRTENV_PYTHON) $(CURDIR)/$(MOZ_MOZDIR)/python/compare-locales/setup.py install
454
 
 
455
 
post-patches:: create-virtualenv
456
 
 
457
401
pre-build:: auto-refresh-supported-locales $(pkgname_subst_files) $(appname_subst_files) mozconfig
458
402
ifeq (,$(MOZ_BRANDING_OPTION))
459
403
        $(error "Need to set MOZ_BRANDING_OPTION")
520
464
get-orig-source: ARGS += -m $(MOZ_MOZDIR)
521
465
endif
522
466
get-orig-source:
523
 
        PYTHONDONTWRITEBYTECODE=1 $(MOZ_PYTHON) $(CURDIR)/debian/build/create-tarball.py $(ARGS)
 
467
        PYTHONDONTWRITEBYTECODE=1 python $(CURDIR)/debian/build/create-tarball.py $(ARGS)
524
468
 
525
469
echo-%:
526
470
        @echo "$($*)"
556
500
        rm -rf $(MOZ_OBJDIR)
557
501
        rm -f debian/searchplugin*.list
558
502
        rm -f mozconfig
559
 
        rm -rf debian/_virtualenv
560
503
        rm -f debian/testing/extra.test.zip
561
504
        rm -rf debian/testing/extra-stage
562
505
 
563
 
.PHONY: make-buildsymbols make-testsuite make-langpack-xpis refresh-supported-locales auto-refresh-supported-locales get-orig-source create-virtualenv
 
506
.PHONY: make-buildsymbols make-testsuite make-langpack-xpis refresh-supported-locales auto-refresh-supported-locales get-orig-source