blob: 542c5082076f510a0cf207af344df30d8efdaa19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
PYTHONLIBDIR ?= $(shell python -c "from distutils.sysconfig import *; print get_python_lib()")
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
|