13b9ea7f1c
Debian use /usr/lib/python*/dist-packages (instead of site-packages) for packaged python modules. It's achieved using --install-layout=deb option, so pass it on Debian build.
17 lines
325 B
Makefile
17 lines
325 B
Makefile
all:
|
|
python setup.py build
|
|
.PHONY: all
|
|
|
|
clean:
|
|
python setup.py clean
|
|
.PHONY: clean
|
|
|
|
install:
|
|
python setup.py install -O1 --skip-build $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
|
|
#ifeq (1,${DEBIANBUILD})
|
|
# cp *.py $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
|
#else
|
|
# cp *.py* $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
|
#endif
|
|
.PHONY: install
|