summaryrefslogtreecommitdiffstats
path: root/ipa-python/Makefile
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-10-17 11:28:37 -0400
committerRob Crittenden <rcritten@redhat.com>2007-10-17 11:28:37 -0400
commitbc52446074fb6013d1f06f1bb579e2cbfcb896b2 (patch)
treee873a20ad6fbd75e755a5ef16d4214b4a8fd5ca2 /ipa-python/Makefile
parentbd3b07b448f3724b9abf7a4eb3b84143258a0252 (diff)
downloadfreeipa-bc52446074fb6013d1f06f1bb579e2cbfcb896b2.tar.gz
freeipa-bc52446074fb6013d1f06f1bb579e2cbfcb896b2.tar.xz
freeipa-bc52446074fb6013d1f06f1bb579e2cbfcb896b2.zip
Fix build issues by combining patches submitted by Michael Gregg and
Karl MacMillan Remove #!/usr/bin/python from many files to quiet rpmlint
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: