-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
Makefile
29 lines (25 loc) · 930 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.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-daemon.desktop $(DESTDIR)/etc/xdg/autostart/
install -m 0644 etc/qvm-start-daemon-kde.desktop $(DESTDIR)/etc/xdg/autostart/
install -d $(DESTDIR)/usr/bin
ln -sf qvm-start-daemon $(DESTDIR)/usr/bin/qvm-start-gui
install -m 0755 scripts/qubes-guivm-session $(DESTDIR)/usr/bin/
install -d $(DESTDIR)/etc/qubes/post-install.d
install -m 0755 scripts/30-keyboard-layout-service.sh \
$(DESTDIR)/etc/qubes/post-install.d/30-keyboard-layout-service.sh
clean:
rm -rf test-packages/__pycache__ qubesadmin/__pycache__
rm -rf qubesadmin/*/__pycache__ qubesadmin/tests/*/__pycache__
rm -rf test-packages/*.egg-info
rm -f .coverage
rm -rf debian/changelog.*
rm -rf pkgs