0000-12-31 18:09:24 -05:50
|
|
|
PYTHONLIBDIR ?= $(shell python -c "from distutils.sysconfig import *; print get_python_lib()")
|
0000-12-31 18:09:24 -05:50
|
|
|
PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/ipa
|
0000-12-31 18:09:24 -05:50
|
|
|
CONFIGDIR ?= $(DESTDIR)/etc/ipa
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
all: ;
|
|
|
|
|
|
|
|
install:
|
|
|
|
-mkdir -p $(PACKAGEDIR)
|
|
|
|
install -m 644 *.py $(PACKAGEDIR)
|
0000-12-31 18:09:24 -05:50
|
|
|
-mkdir -p $(CONFIGDIR)
|
0000-12-31 18:09:24 -05:50
|
|
|
if ! [ -e $(CONFIGDIR)/ipa.conf ]; then \
|
|
|
|
install -m 644 ipa.conf $(CONFIGDIR); \
|
|
|
|
fi
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
clean:
|
0000-12-31 18:09:24 -05:50
|
|
|
rm -f *~ *.pyc
|
|
|
|
|