source: pyyaml/trunk/Makefile @ 229

Revision 229, 745 bytes checked in by xi, 8 years ago (diff)

Fix makefile and add setup.cfg.

RevLine 
[39]1
[195]2.PHONY: default build buildext force forceext install installext test testext dist clean
[39]3
4PYTHON=/usr/bin/python
5TEST=
6PARAMETERS=
7
8build:
9        ${PYTHON} setup.py build ${PARAMETERS}
10
[195]11buildext:
[229]12        ${PYTHON} setup_with_libyaml.py build ${PARAMETERS}
[195]13
[39]14force:
15        ${PYTHON} setup.py build -f ${PARAMETERS}
16
[195]17forceext:
[229]18        ${PYTHON} setup_with_libyaml.py build -f ${PARAMETERS}
[195]19
[39]20install: build
21        ${PYTHON} setup.py install ${PARAMETERS}
22
[195]23installext: buildext
[229]24        ${PYTHON} setup_with_libyaml.py install ${PARAMETERS}
[195]25
[39]26test: build
[48]27        ${PYTHON} tests/test_build.py ${TEST}
[39]28
[195]29testext: buildext
30        ${PYTHON} tests/test_build_ext.py ${TEST}
31
32dist:
[59]33        ${PYTHON} setup.py sdist --formats=zip,gztar
[166]34
[195]35windist:
[156]36        ${PYTHON} setup.py bdist_wininst
[59]37
[39]38clean:
39        ${PYTHON} setup.py clean -a
Note: See TracBrowser for help on using the repository browser.