~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/buildout-templates/bin/build-installer.bat.in

  • Committer: Andrew Bennetts
  • Date: 2009-07-27 08:02:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4573.
  • Revision ID: andrew.bennetts@canonical.com-20090727080252-1r4s9oqwlkzgywx7
Fix trivial bug in _vfs_set_tags_bytes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
%PYTHON% %ROOT%/ostools.py makedir %INSTALLERS%
50
50
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
51
51
 
52
 
rem Use %COMSPEC% /c in case bzr is actually a .bat file
53
 
%COMSPEC% /c bzr co %ROOT%/bzr/%BZR_TARGET% %TARGET%
54
 
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
55
 
 
56
 
rem Build the python installers first, because we don't want to
57
 
rem include any of the 3rd-party plugins, because we don't bundle
58
 
rem their dependencies.
59
 
cd %TARGET%
60
 
 
61
 
rem This is slightly redundant with 'make installer-all'
62
 
rem except in that case we have to do cygwin path translations for all the
63
 
rem different versions of python
64
 
${settings:python24} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
65
 
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
66
 
 
67
 
${settings:python25} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
68
 
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
69
 
 
70
 
${settings:python26} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
 
52
bzr co %ROOT%/bzr/%BZR_TARGET% %TARGET%
71
53
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
72
54
 
73
55
cd %ROOT%/subvertpy/%PLUGIN_TARGET%
86
68
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
87
69
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
88
70
 
89
 
cd %ROOT%/bzr-rewrite/%PLUGIN_TARGET%
 
71
cd %ROOT%/bzr-rebase/%PLUGIN_TARGET%
90
72
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
91
73
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
92
74
 
99
81
make installer PYTHON=%CYG_PYTHON%
100
82
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
101
83
 
 
84
rem Enable this when this branch is merged.
 
85
rem make python-installer PYTHON24=${settings:python24} PYTHON25=${settings:python25}
 
86
rem @if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
 
87
 
 
88
${settings:python24} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
 
89
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
 
90
 
 
91
${settings:python25} setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
 
92
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
 
93
 
102
94
%PYTHON% %ROOT%/ostools.py copytodir %TARGET%/bzr*.exe %INSTALLERS%
103
95
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
104
96