summaryrefslogtreecommitdiffstats
path: root/ipa-python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-python/Makefile')
-rw-r--r--ipa-python/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ipa-python/Makefile b/ipa-python/Makefile
index bc6554be..b2e4660f 100644
--- a/ipa-python/Makefile
+++ b/ipa-python/Makefile
@@ -1,11 +1,17 @@
PYTHONLIBDIR ?= $(shell python -c "from distutils.sysconfig import *; print get_python_lib(1)")
PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/ipa
+CONFIGDIR ?= $(DESTDIR)/etc/ipa
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); \
+ fi
clean:
- rm -f *~ *.pyc \ No newline at end of file
+ rm -f *~ *.pyc
+