David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [diff] [blame] | 1 | # |
| 2 | # Licensed to the Apache Software Foundation (ASF) under one |
| 3 | # or more contributor license agreements. See the NOTICE file |
| 4 | # distributed with this work for additional information |
| 5 | # regarding copyright ownership. The ASF licenses this file |
| 6 | # to you under the Apache License, Version 2.0 (the |
| 7 | # "License"); you may not use this file except in compliance |
| 8 | # with the License. You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, |
| 13 | # software distributed under the License is distributed on an |
| 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | # KIND, either express or implied. See the License for the |
| 16 | # specific language governing permissions and limitations |
| 17 | # under the License. |
| 18 | # |
Roger Meier | c095919 | 2013-01-15 23:20:19 +0100 | [diff] [blame^] | 19 | .NOTPARALLEL: |
Aditya Agarwal | 99e2c07 | 2007-07-31 01:36:08 +0000 | [diff] [blame] | 20 | DESTDIR ?= / |
Jake Farrell | e0c5316 | 2011-11-16 12:58:36 +0000 | [diff] [blame] | 21 | EXTRA_DIST = setup.py setup.cfg src compat |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame] | 22 | |
David Reiss | 3de1c4e | 2008-02-24 17:45:03 +0000 | [diff] [blame] | 23 | all-local: |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame] | 24 | $(PYTHON) setup.py build |
Aditya Agarwal | 99e2c07 | 2007-07-31 01:36:08 +0000 | [diff] [blame] | 25 | |
David Reiss | aea19c9 | 2007-08-29 23:17:32 +0000 | [diff] [blame] | 26 | # We're ignoring prefix here because site-packages seems to be |
| 27 | # the equivalent of /usr/local/lib in Python land. |
| 28 | # Old version (can't put inline because it's not portable). |
| 29 | #$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS) |
Marc Slemko | d95abdd | 2007-01-16 22:20:19 +0000 | [diff] [blame] | 30 | install-exec-hook: |
David Reiss | d683219 | 2007-09-05 00:47:32 +0000 | [diff] [blame] | 31 | $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS) |
David Reiss | b72d19f | 2007-09-18 19:46:00 +0000 | [diff] [blame] | 32 | |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 33 | clean-local: |
| 34 | $(RM) -r build |
Mark Slee | 5299a95 | 2007-10-05 00:13:24 +0000 | [diff] [blame] | 35 | |
David Reiss | 223d6bd | 2008-02-24 02:03:17 +0000 | [diff] [blame] | 36 | check-local: all |