2017-05-17 13:19:01 +00:00
|
|
|
PYTHON ?= python
|
|
|
|
|
2015-09-21 14:00:35 +00:00
|
|
|
all:
|
2017-05-17 13:19:01 +00:00
|
|
|
$(PYTHON) setup.py build
|
2015-09-21 14:00:35 +00:00
|
|
|
.PHONY: all
|
|
|
|
|
|
|
|
clean:
|
2017-05-17 13:19:01 +00:00
|
|
|
$(PYTHON) setup.py clean
|
2015-09-21 14:00:35 +00:00
|
|
|
.PHONY: clean
|
|
|
|
|
|
|
|
install:
|
2017-05-17 13:19:01 +00:00
|
|
|
$(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
|
2015-09-21 14:00:35 +00:00
|
|
|
#ifeq (1,${DEBIANBUILD})
|
|
|
|
# cp *.py $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
|
|
|
#else
|
|
|
|
# cp *.py* $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
|
|
|
#endif
|
|
|
|
.PHONY: install
|