summaryrefslogtreecommitdiffstats
path: root/ipa-python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-python/Makefile')
-rw-r--r--ipa-python/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/ipa-python/Makefile b/ipa-python/Makefile
index 4b20d4bb7..b11a1f805 100644
--- a/ipa-python/Makefile
+++ b/ipa-python/Makefile
@@ -6,11 +6,10 @@ TESTS = $(wildcard test/*.py)
all: ;
install:
- -mkdir -p $(PACKAGEDIR)
- install -m 644 *.py $(PACKAGEDIR)
- -mkdir -p $(CONFIGDIR)
- if ! [ -e $(CONFIGDIR)/ipa.conf ]; then \
- install -m 644 ipa.conf $(CONFIGDIR); \
+ if [ "$(DESTDIR)" = "" ]; then \
+ python setup.py install; \
+ else \
+ python setup.py install --root $(DESTDIR); \
fi
clean: