summaryrefslogtreecommitdiffstats
path: root/ipa-python/Makefile
blob: 85acdb6783125f01255781038a85e280316c8b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
	install -m 644 ipa.conf $(CONFIGDIR)

clean:
	rm -f *~ *.pyc