diff options
| author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-12-07 13:21:09 +0100 |
|---|---|---|
| committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-12-07 13:21:09 +0100 |
| commit | 5f512ebb90170264ccb38fdefd7e2d286e256093 (patch) | |
| tree | 480dea995fed7dd4a99a7d4fdcb58a9e5c49e968 /Makefile | |
| parent | 2b4695bbdcf18a0b9597497713e8634ec051c1b2 (diff) | |
| download | psutil-5f512ebb90170264ccb38fdefd7e2d286e256093.tar.gz | |
Makefile: also take python 2.4 and 2.5 into account
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,9 +1,17 @@ +# Shortcuts for various tasks. + PYTHON=python all: test install: clean - $(PYTHON) setup.py install --user + if test $(PYTHON) = python2.4; then \ + $(PYTHON) setup.py install; \ + elif test $(PYTHON) = python2.5; then \ + $(PYTHON) setup.py install; \ + else \ + $(PYTHON) setup.py install --user; \ + fi test: install $(PYTHON) test/test_psutil.py |
