| Revision 59,
403 bytes
checked in by xi, 7 years ago
(diff) |
|
Remove y/n from the boolean constants.
|
| Rev | Line | |
|---|
| [39] | 1 | |
|---|
| [59] | 2 | .PHONY: default build force install test dist-src clean |
|---|
| [39] | 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 |
|---|
| [48] | 18 | ${PYTHON} tests/test_build.py ${TEST} |
|---|
| [39] | 19 | |
|---|
| [59] | 20 | dist-src: |
|---|
| 21 | ${PYTHON} setup.py sdist --formats=zip,gztar |
|---|
| 22 | |
|---|
| [39] | 23 | clean: |
|---|
| 24 | ${PYTHON} setup.py clean -a |
|---|
| 25 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.