2017-02-27 20:19:00 +01:00
|
|
|
.PHONY: all
|
|
|
|
all: build
|
|
|
|
|
2020-01-15 21:41:17 +01:00
|
|
|
PYTHON ?= python3
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
.PHONY: build
|
|
|
|
build:
|
|
|
|
$(PYTHON) setup.py build
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install:
|
2017-04-14 13:26:45 +02:00
|
|
|
$(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
|
2017-04-27 01:12:19 +02:00
|
|
|
install -d $(DESTDIR)/etc/xdg/autostart
|
|
|
|
install -m 0644 etc/qvm-start-gui.desktop $(DESTDIR)/etc/xdg/autostart/
|
2020-01-21 22:56:52 +01:00
|
|
|
install -D scripts/qvm-console $(DESTDIR)/usr/bin/qvm-console
|
2018-04-13 01:12:06 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf test-packages/__pycache__ qubesadmin/__pycache__
|
|
|
|
rm -rf qubesadmin/*/__pycache__ qubesadmin/tests/*/__pycache__
|
|
|
|
rm -rf test-packages/*.egg-info
|
|
|
|
rm -f .coverage
|