core-admin-client/Makefile
2020-01-21 22:37:40 +00:00

22 lines
543 B
Makefile

.PHONY: all
all: build
PYTHON ?= python3
.PHONY: build
build:
$(PYTHON) setup.py build
.PHONY: install
install:
$(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
install -d $(DESTDIR)/etc/xdg/autostart
install -m 0644 etc/qvm-start-gui.desktop $(DESTDIR)/etc/xdg/autostart/
install -D scripts/qvm-console $(DESTDIR)/usr/bin/qvm-console
clean:
rm -rf test-packages/__pycache__ qubesadmin/__pycache__
rm -rf qubesadmin/*/__pycache__ qubesadmin/tests/*/__pycache__
rm -rf test-packages/*.egg-info
rm -f .coverage