| Revision 280,
796 bytes
checked in by xi, 5 years ago
(diff) |
|
Updated Makefile to use 'setup.py --with-libyaml'.
|
| Rev | Line | |
|---|
| [39] | 1 | |
|---|
| [195] | 2 | .PHONY: default build buildext force forceext install installext test testext dist clean |
|---|
| [39] | 3 | |
|---|
| 4 | PYTHON=/usr/bin/python |
|---|
| 5 | TEST= |
|---|
| 6 | PARAMETERS= |
|---|
| 7 | |
|---|
| 8 | build: |
|---|
| 9 | ${PYTHON} setup.py build ${PARAMETERS} |
|---|
| 10 | |
|---|
| [195] | 11 | buildext: |
|---|
| [280] | 12 | ${PYTHON} setup.py --with-libyaml build ${PARAMETERS} |
|---|
| [195] | 13 | |
|---|
| [39] | 14 | force: |
|---|
| 15 | ${PYTHON} setup.py build -f ${PARAMETERS} |
|---|
| 16 | |
|---|
| [195] | 17 | forceext: |
|---|
| [280] | 18 | ${PYTHON} setup.py --with-libyaml build -f ${PARAMETERS} |
|---|
| [195] | 19 | |
|---|
| [39] | 20 | install: build |
|---|
| 21 | ${PYTHON} setup.py install ${PARAMETERS} |
|---|
| 22 | |
|---|
| [195] | 23 | installext: buildext |
|---|
| [280] | 24 | ${PYTHON} setup.py --with-libyaml install ${PARAMETERS} |
|---|
| [195] | 25 | |
|---|
| [39] | 26 | test: build |
|---|
| [48] | 27 | ${PYTHON} tests/test_build.py ${TEST} |
|---|
| [39] | 28 | |
|---|
| [195] | 29 | testext: buildext |
|---|
| 30 | ${PYTHON} tests/test_build_ext.py ${TEST} |
|---|
| 31 | |
|---|
| 32 | dist: |
|---|
| [280] | 33 | ${PYTHON} setup.py --with-libyaml sdist --formats=zip,gztar |
|---|
| [166] | 34 | |
|---|
| [195] | 35 | windist: |
|---|
| [280] | 36 | ${PYTHON} setup.py --with-libyaml bdist_wininst |
|---|
| [59] | 37 | |
|---|
| [39] | 38 | clean: |
|---|
| [280] | 39 | ${PYTHON} setup.py --with-libyaml clean -a |
|---|
Note: See
TracBrowser
for help on using the repository browser.