/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Jelmer Vernooij
  • Date: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
SHELL=bash
24
24
PYTHON?=python3
 
25
PYTHON2?=python2
25
26
PYTHON3?=python3
 
27
PYTHON27=python27
26
28
BRZ_TARGET=release
27
29
PLUGIN_TARGET=plugin-release
28
30
PYTHON_BUILDFLAGS=
79
81
        # https://github.com/paramiko/paramiko/issues/713 is not a concern
80
82
        # anymore -- vila 2017-05-24
81
83
        set -o pipefail; \
82
 
        BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::PendingDeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
 
84
        BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON2) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
 
85
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
 
86
          | subunit-filter -s --passthrough --rename "^" "python2."; \
 
87
          BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::PendingDeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
83
88
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
84
89
          | subunit-filter -s --passthrough --rename "^" "python3."
85
90
 
253
258
        $(PYTHON) setup.py build_ext -i -f $(PYTHON_BUILDFLAGS)
254
259
        $(PYTHON) setup.py py2exe > py2exe.log
255
260
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/start_brz.bat win32_brz.exe
256
 
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/breezy.url win32_brz.exe
257
 
 
 
261
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/bazaar.url win32_brz.exe
258
262
 
259
263
# win32 installer for brz.exe
260
264
installer: exe copy-docs
262
266
        $(PYTHON) tools/win32/run_script.py cog.py -d -o tools/win32/brz.iss tools/win32/brz.iss.cog
263
267
        iscc /Q tools/win32/brz.iss
264
268
 
265
 
py-inst-37: docs
266
 
        $(PYTHON37) setup.py bdist_wininst --install-script="brz-win32-bdist-postinstall.py" -d .
267
 
 
268
 
python-installer: py-inst-37
 
269
py-inst-27: docs
 
270
        $(PYTHON27) setup.py bdist_wininst --install-script="brz-win32-bdist-postinstall.py" -d .
 
271
 
 
272
python-installer: py-inst-27
 
273
 
269
274
 
270
275
copy-docs: docs
271
276
        $(PYTHON) tools/win32/ostools.py copytodir README win32_brz.exe/doc
295
300
po/brz.pot: $(PYFILES) $(DOCFILES)
296
301
        $(PYTHON) ./brz export-pot --include-duplicates > po/brz.pot
297
302
        echo $(TRANSLATABLE_PYFILES) | xargs \
298
 
          xgettext --package-name "bzr" \
299
 
          --copyright-holder "Canonical Ltd., Breezy Team" \
 
303
          xgettext --package-name "brz" \
 
304
          --msgid-bugs-address "<bazaar@canonical.com>" \
 
305
          --copyright-holder "Canonical" \
300
306
          --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \
301
307
          -d bzr -p po -o brz.pot
302
308