Changes in trunk/Makefile [4:29]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r4 r29  
    11 
    2 .PHONY: default build force install test clean 
     2.PHONY: default build force install test clean  \ 
     3        dist-src dist-win dist-win-2.2 dist-win-2.3 dist-win-2.4 
    34 
    45PYTHON=/usr/bin/python 
     6REST2HTML=/usr/bin/rest2html --embed-stylesheet --stylesheet-path=/usr/share/python-docutils/stylesheets/default.css 
    57TEST= 
     8PARAMETERS= 
    69 
    7 default: build 
     10default: build README.html 
    811 
    912build: 
    10         ${PYTHON} setup.py build 
     13        ${PYTHON} setup.py build ${PARAMETERS} 
    1114 
    1215force: 
    13         ${PYTHON} setup.py build -f 
     16        ${PYTHON} setup.py build -f ${PARAMETERS} 
    1417 
    1518install: build 
    16         ${PYTHON} setup.py install 
     19        ${PYTHON} setup.py install ${PARAMETERS} 
    1720 
    1821test: build 
     
    2225        ${PYTHON} setup.py clean -a 
    2326 
     27dist-src: 
     28        ${PYTHON} setup.py sdist --formats=zip,gztar 
     29 
     30dist-win: dist-win-2.2 dist-win-2.3 dist-win-2.4 
     31 
     32dist-win-2.2: PYTHON=/c/Python22/python 
     33dist-win-2.2: PARAMETERS=--compiler=mingw32 
     34dist-win-2.2: 
     35        ${PYTHON} setup.py build ${PARAMETERS} 
     36        ${PYTHON} setup.py bdist_wininst 
     37 
     38dist-win-2.3: PYTHON=/c/Python23/python 
     39dist-win-2.3: PARAMETERS=--compiler=mingw32 
     40dist-win-2.3: 
     41        ${PYTHON} setup.py build ${PARAMETERS} 
     42        ${PYTHON} setup.py bdist_wininst --skip-build --target-version=2.3 
     43 
     44dist-win-2.4: PYTHON=/c/Python24/python 
     45dist-win-2.4: PARAMETERS=--compiler=mingw32 
     46dist-win-2.4: 
     47        ${PYTHON} setup.py build ${PARAMETERS} 
     48        ${PYTHON} setup.py bdist_wininst --skip-build --target-version=2.4 
     49 
     50README.html: README.txt 
     51        ${REST2HTML} README.txt README.html 
     52 
Note: See TracChangeset for help on using the changeset viewer.