From 0ef9d8810403b68a11c98e92761b63a8d280438a Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 6 Oct 2010 13:41:26 -0400 Subject: Add default python encoding module to reset default from ascii to utf-8 Also clean up some duplicate files in the rpm for the UI. --- ipapython/py_default_encoding/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ipapython/py_default_encoding/Makefile (limited to 'ipapython/py_default_encoding/Makefile') 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 -- cgit