~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: Patch Queue Manager
  • Date: 2011-10-14 16:54:26 UTC
  • mfrom: (6216.1.1 remove-this-file)
  • Revision ID: pqm@pqm.ubuntu.com-20111014165426-tjix4e6idryf1r2z
(jelmer) Remove an accidentally committed .THIS file. (Jelmer Vernooij)

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
 
bzr co %ROOT%/bzr/%BZR_TARGET% %TARGET%
 
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 .
53
71
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
54
72
 
55
73
cd %ROOT%/subvertpy/%PLUGIN_TARGET%
68
86
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
69
87
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
70
88
 
71
 
cd %ROOT%/bzr-rebase/%PLUGIN_TARGET%
 
89
cd %ROOT%/bzr-rewrite/%PLUGIN_TARGET%
72
90
%PYTHON% setup.py install -O1 --install-lib=%TARGET%
73
91
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
74
92
 
81
99
make installer PYTHON=%CYG_PYTHON%
82
100
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
83
101
 
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
 
 
94
102
%PYTHON% %ROOT%/ostools.py copytodir %TARGET%/bzr*.exe %INSTALLERS%
95
103
@if %ERRORLEVEL% NEQ 0 (set BUILD_ERROR=%ERRORLEVEL%) & goto End
96
104