core-admin-client/Makefile
Marek Marczykowski-Górecki 65f0f028f8
Add 'make clean' target, use it for Debian build
Since orig tarball exclude files from .gitignore, make sure make clean
remove them - otherwise dpkg-source complains.
2018-04-13 01:12:06 +02:00

21 lines
479 B
Makefile

.PHONY: all
all: build
PYTHON ?= python
.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/
clean:
rm -rf test-packages/__pycache__ qubesadmin/__pycache__
rm -rf qubesadmin/*/__pycache__ qubesadmin/tests/*/__pycache__
rm -rf test-packages/*.egg-info
rm -f .coverage