summaryrefslogtreecommitdiffstats
path: root/ipa-python/Makefile
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-08-09 14:52:54 -0400
committerSimo Sorce <ssorce@redhat.com>2007-08-09 14:52:54 -0400
commita59c36b394dba5f8b371c1a6cdab0317a5507486 (patch)
tree91cbc96560da1e0aebe3b0dda64c8b3191495a0b /ipa-python/Makefile
parent950bddf2a32b765ee97df5442a1ec9c0a358ccb3 (diff)
parentcf93b1bc642a843242cc9aaf585c08c5475ad632 (diff)
downloadfreeipa-a59c36b394dba5f8b371c1a6cdab0317a5507486.tar.gz
freeipa-a59c36b394dba5f8b371c1a6cdab0317a5507486.tar.xz
freeipa-a59c36b394dba5f8b371c1a6cdab0317a5507486.zip
merge in changes from upstream
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 bc6554be4..b2e4660f8 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
+