From bc52446074fb6013d1f06f1bb579e2cbfcb896b2 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 17 Oct 2007 11:28:37 -0400 Subject: Fix build issues by combining patches submitted by Michael Gregg and Karl MacMillan Remove #!/usr/bin/python from many files to quiet rpmlint --- ipa-python/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'ipa-python/Makefile') 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: -- cgit