diff options
Diffstat (limited to 'ipapython/py_default_encoding/Makefile')
-rw-r--r-- | ipapython/py_default_encoding/Makefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ipapython/py_default_encoding/Makefile b/ipapython/py_default_encoding/Makefile deleted file mode 100644 index a73f429db..000000000 --- a/ipapython/py_default_encoding/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -PYTHON ?= /usr/bin/python2 -PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib())") -PYTHONVERSION ?= $(shell $(PYTHON) -c "import sys; print(sys.version_info[0])") - -all: - if [ "$(PYTHONVERSION)" = "2" ]; then \ - python2 setup.py build; \ - fi - -install: - # Skip this module under Python 3 - if [ "$(PYTHONVERSION)" = "2" ]; then \ - if [ "$(DESTDIR)" = "" ]; then \ - python2 setup.py install; \ - else \ - python2 setup.py install --root $(DESTDIR); \ - fi; \ - fi - -clean: - rm -rf build - -distclean: clean - -maintainer-clean: distclean |