summaryrefslogtreecommitdiffstats
path: root/ipapython/ipap11helper/Makefile
blob: f66edb82e5aec83d3d6b2b666a1e3441e45b3b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PYTHON ?= /usr/bin/python2
PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib())")

all:
	$(PYTHON) setup.py build

install:
	if [ "$(DESTDIR)" = "" ]; then \
		$(PYTHON) setup.py install; \
	else \
		$(PYTHON) setup.py install --root $(DESTDIR); \
	fi

clean:
	rm -rf build

distclean: clean

maintainer-clean: distclean