~ubuntu-branches/ubuntu/gutsy/libapache2-mod-python/gutsy

« back to all changes in this revision

Viewing changes to dist/build_installer.bat

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2007-04-12 20:52:05 UTC
  • mfrom: (1.2.4 upstream) (1.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070412205205-j4qlsw3o4tl615iq
Tags: 3.3.1-1
* New upstream release
* Remove configure and mod_python.h files in clean rule to make the diff.gz
  file smaller
* Current Python version in libapache2-mod-pythonX.Y package name (Provides:
  field) filled in automatically.
* Added XS-Vcs-Browser field

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
rem  
16
16
rem Originally developed by Gregory Trubetskoy.
17
17
rem  
18
 
rem $Id: build_installer.bat 345063 2005-11-16 17:16:41Z nlehuen $
 
18
rem $Id: build_installer.bat 420292 2006-07-09 13:09:28Z nlehuen $
19
19
rem
20
20
rem This script builds the installer for Windows
21
21
 
25
25
 
26
26
rem Cleanup
27
27
rmdir /s /q build
28
 
del ..\src\*.obj ..\src\*.lib ..\src\*.exp ..\src\*.res
 
28
del /s ..\src\*.obj ..\src\*.lib ..\src\*.exp ..\src\*.res
29
29
 
30
30
rem Build
31
31
python setup.py.in bdist_wininst --install-script win32_postinstall.py
 
32
GOTO END
 
33
 
 
34
rem Use this instead of the previous line to create a debug build
 
35
rem For this you need a Python debug build. The .py files will be installed
 
36
rem directly in the Python debug build's site-packages. The .so file will remain
 
37
rem in build/lib.win32-2.4, so you'll have to make sure your testconf.py file
 
38
rem points to it instead of the copy that may already reside in LIBEXECDIR.
 
39
 
 
40
rem python_d setup.py.in build --debug install
 
41
rem GOTO END
32
42
 
33
43
rem Compress the installer if possible
34
44
upx.exe --no-color --no-progress --best dist\*.exe
36
46
 
37
47
:BADAPACHESRC
38
48
echo Currently APACHESRC points to %APACHESRC%
39
 
echo This value seems wrong as we could not find a proper Apache installation here.
 
49
echo This value seems wrong as we could not find a proper
 
50
echo Apache installation here.
40
51
 
41
52
:NOAPACHESRC
42
53
echo Please set the APACHESRC variable to point to your Apache setup