219
223
### Windows Support ###
225
# make all the installers completely from scratch, using zc.buildout
226
# to fetch the dependencies
228
@echo *** Make all the installers from scratch
229
cd tools/win32 && $(PYTHON) bootstrap.py
230
cd tools/win32 && bin/buildout
231
cd tools/win32 && bin/build-installer.bat $(BZR_TARGET) $(PLUGIN_TARGET)
235
$(PYTHON) tools/win32/ostools.py remove tools/win32/.installed.cfg
236
$(PYTHON) tools/win32/ostools.py remove tools/win32/bin/
237
$(PYTHON) tools/win32/ostools.py remove tools/win32/bzr/
238
$(PYTHON) tools/win32/ostools.py remove tools/win32/bzr-rebase/
239
$(PYTHON) tools/win32/ostools.py remove tools/win32/bzr-svn/
240
$(PYTHON) tools/win32/ostools.py remove tools/win32/bzrtools/
241
$(PYTHON) tools/win32/ostools.py remove tools/win32/db4/
242
$(PYTHON) tools/win32/ostools.py remove tools/win32/develop-eggs/
243
$(PYTHON) tools/win32/ostools.py remove tools/win32/libintl/
244
$(PYTHON) tools/win32/ostools.py remove tools/win32/parts/
245
$(PYTHON) tools/win32/ostools.py remove tools/win32/qbzr/
246
$(PYTHON) tools/win32/ostools.py remove tools/win32/subvertpy/
247
$(PYTHON) tools/win32/ostools.py remove tools/win32/svn/
248
$(PYTHON) tools/win32/ostools.py remove tools/win32/tbzr/
249
$(PYTHON) tools/win32/ostools.py remove tools/win32/tortoise-overlays/
250
$(PYTHON) tools/win32/ostools.py remove tools/win32/zlib/
221
252
# make bzr.exe for win32 with py2exe
223
254
@echo *** Make bzr.exe
230
261
# win32 installer for bzr.exe
231
262
installer: exe copy-docs
232
@echo *** Make windows installer
263
@echo *** Make Windows installer
233
264
$(PYTHON) tools/win32/run_script.py cog.py -d -o tools/win32/bzr.iss tools/win32/bzr.iss.cog
234
265
iscc /Q tools/win32/bzr.iss
236
267
# win32 Python's distutils-based installer
237
268
# require to have Python interpreter installed on win32
239
python24 setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
270
$(PYTHON24) setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
242
python25 setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
273
$(PYTHON25) setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .
245
276
python26 setup.py bdist_wininst --install-script="bzr-win32-bdist-postinstall.py" -d .