source: pyyaml/trunk/Makefile @ 195

Revision 195, 719 bytes checked in by xi, 8 years ago (diff)

Add pyrex-based bindings for the libyaml scanner.

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