Changeset 28


Ignore:
Timestamp:
08/28/05 12:25:07 (9 years ago)
Author:
xi
Message:

Add make targets for building windows binary packages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r26 r28  
    11 
    2 .PHONY: default build force install test clean 
     2.PHONY: default build force install test clean  \ 
     3        dist-win dist-win-2.2 dist-win-2.3 dist-win-2.4 
    34 
    45PYTHON=/usr/bin/python 
    56TEST= 
     7PARAMETERS= 
    68 
    79default: build README.html 
    810 
    911build: 
    10         ${PYTHON} setup.py build 
     12        ${PYTHON} setup.py build ${PARAMETERS} 
    1113 
    1214force: 
    13         ${PYTHON} setup.py build -f 
     15        ${PYTHON} setup.py build -f ${PARAMETERS} 
    1416 
    1517install: build 
    16         ${PYTHON} setup.py install 
     18        ${PYTHON} setup.py install ${PARAMETERS} 
    1719 
    1820test: build 
     
    2224        ${PYTHON} setup.py clean -a 
    2325 
     26dist-win: dist-win-2.2 dist-win-2.3 dist-win-2.4 
     27 
     28dist-win-2.2: PYTHON=/c/Python22/python 
     29dist-win-2.2: PARAMETERS=--compiler=mingw32 
     30dist-win-2.2: 
     31        ${PYTHON} setup.py build ${PARAMETERS} 
     32        ${PYTHON} setup.py bdist_wininst 
     33 
     34dist-win-2.3: PYTHON=/c/Python23/python 
     35dist-win-2.3: PARAMETERS=--compiler=mingw32 
     36dist-win-2.3: 
     37        ${PYTHON} setup.py build ${PARAMETERS} 
     38        ${PYTHON} setup.py bdist_wininst --skip-build --target-version=2.3 
     39 
     40dist-win-2.4: PYTHON=/c/Python24/python 
     41dist-win-2.4: PARAMETERS=--compiler=mingw32 
     42dist-win-2.4: 
     43        ${PYTHON} setup.py build ${PARAMETERS} 
     44        ${PYTHON} setup.py bdist_wininst --skip-build --target-version=2.4 
     45 
    2446README.html: README.txt 
    2547        rest2html --embed-stylesheet --stylesheet-path=/usr/share/python-docutils/stylesheets/default.css README.txt README.html 
    26  
Note: See TracChangeset for help on using the changeset viewer.