~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-03 18:06:07 UTC
  • mfrom: (3514.1.1 setup_vista)
  • Revision ID: pqm@pqm.ubuntu.com-20080703180607-kxmp7ftyw7sqg5gj
(jam) Updates to installer to avoid system libs for Vista

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
### Core Stuff ###
22
22
 
23
23
PYTHON=python
 
24
PYTHON_BUILDFLAGS=
24
25
 
25
26
.PHONY: all clean extensions pyflakes api-docs
26
27
 
28
29
 
29
30
extensions:
30
31
        @echo "building extension modules."
31
 
        $(PYTHON) setup.py build_ext -i
 
32
        $(PYTHON) setup.py build_ext -i $(PYTHON_BUILDFLAGS)
32
33
 
33
34
check: docs extensions
34
35
        $(PYTHON) -Werror -O ./bzr selftest -1v $(tests)
170
171
# make bzr.exe for win32 with py2exe
171
172
exe:
172
173
        @echo *** Make bzr.exe
173
 
        $(PYTHON) setup.py build_ext -i -f
 
174
        $(PYTHON) setup.py build_ext -i -f $(PYTHON_BUILDFLAGS)
174
175
        $(PYTHON) setup.py py2exe > py2exe.log
175
176
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/start_bzr.bat win32_bzr.exe
176
177
        $(PYTHON) tools/win32/ostools.py copytodir tools/win32/bazaar.url win32_bzr.exe