| Revision 156,
435 bytes
checked in by xi, 7 years ago
(diff) |
|
Final touches before the initial release.
|
| Line | |
|---|
| 1 | |
|---|
| 2 | .PHONY: default build force install test dist clean |
|---|
| 3 | |
|---|
| 4 | PYTHON=/usr/bin/python |
|---|
| 5 | TEST= |
|---|
| 6 | PARAMETERS= |
|---|
| 7 | |
|---|
| 8 | build: |
|---|
| 9 | ${PYTHON} setup.py build ${PARAMETERS} |
|---|
| 10 | |
|---|
| 11 | force: |
|---|
| 12 | ${PYTHON} setup.py build -f ${PARAMETERS} |
|---|
| 13 | |
|---|
| 14 | install: build |
|---|
| 15 | ${PYTHON} setup.py install ${PARAMETERS} |
|---|
| 16 | |
|---|
| 17 | test: build |
|---|
| 18 | ${PYTHON} tests/test_build.py ${TEST} |
|---|
| 19 | |
|---|
| 20 | dist: build |
|---|
| 21 | ${PYTHON} setup.py sdist --formats=zip,gztar |
|---|
| 22 | ${PYTHON} setup.py bdist_wininst |
|---|
| 23 | |
|---|
| 24 | clean: |
|---|
| 25 | ${PYTHON} setup.py clean -a |
|---|
| 26 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.