summaryrefslogtreecommitdiffstats
path: root/ipapython/py_default_encoding/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython/py_default_encoding/Makefile')
-rw-r--r--ipapython/py_default_encoding/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/ipapython/py_default_encoding/Makefile b/ipapython/py_default_encoding/Makefile
new file mode 100644
index 000000000..7cd1f6c58
--- /dev/null
+++ b/ipapython/py_default_encoding/Makefile
@@ -0,0 +1,20 @@
+PYTHONLIBDIR ?= $(shell python -c "from distutils.sysconfig import *; print get_python_lib()")
+PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/ipa
+CONFIGDIR ?= $(DESTDIR)/etc/ipa
+
+all:
+ python setup.py build
+
+install:
+ if [ "$(DESTDIR)" = "" ]; then \
+ python setup.py install; \
+ else \
+ python setup.py install --root $(DESTDIR); \
+ fi
+
+clean:
+ rm -rf build
+
+distclean: clean
+
+maintainer-clean: distclean