2017-02-27 20:19:00 +01:00
|
|
|
.PHONY: all
|
|
|
|
all: build
|
|
|
|
|
|
|
|
PYTHON ?= python
|
|
|
|
|
|
|
|
.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/
|
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
|