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
|
2019-11-17 23:54:05 +01:00
|
|
|
install -m 0644 etc/qvm-start-daemon.desktop $(DESTDIR)/etc/xdg/autostart/
|
|
|
|
install -d $(DESTDIR)/usr/bin
|
|
|
|
ln -sf /usr/bin/qubes-start-daemon $(DESTDIR)/usr/bin/qubes-start-gui
|
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
|