2010-04-05 20:58:57 +02:00
|
|
|
RPMS_DIR=rpm/
|
2011-04-04 10:55:25 +02:00
|
|
|
|
2013-03-07 05:09:13 +01:00
|
|
|
VERSION := $(shell cat version)
|
2011-04-04 10:55:25 +02:00
|
|
|
|
2013-04-17 01:44:28 +02:00
|
|
|
DIST ?= fc18
|
|
|
|
KDESERVICEDIR ?= /usr/share/kde4/services
|
2013-08-07 11:20:33 +02:00
|
|
|
SBINDIR ?= /usr/sbin
|
2015-01-06 15:59:15 +01:00
|
|
|
LIBDIR ?= /usr/lib
|
|
|
|
SYSLIBDIR ?= /lib
|
2013-01-25 03:07:16 +01:00
|
|
|
|
2015-08-27 20:08:33 +02:00
|
|
|
PYTHON = /usr/bin/python2
|
|
|
|
PYTHON_SITEARCH = `python2 -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1)'`
|
|
|
|
|
2014-04-21 21:23:11 +02:00
|
|
|
# This makefile uses some bash-isms, make uses /bin/sh by default.
|
|
|
|
SHELL = /bin/bash
|
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
help:
|
2011-04-04 10:55:25 +02:00
|
|
|
@echo "make rpms -- generate binary rpm packages"
|
2012-11-14 01:41:21 +01:00
|
|
|
@echo "make rpms-vm -- generate binary rpm packages for VM"
|
2011-04-04 10:55:25 +02:00
|
|
|
@echo "make clean -- cleanup"
|
2013-04-17 01:44:28 +02:00
|
|
|
@echo "make install-vm -- install VM related files"
|
2010-04-05 20:58:57 +02:00
|
|
|
|
2013-03-07 05:09:13 +01:00
|
|
|
rpms: rpms-vm
|
2012-11-07 17:58:08 +01:00
|
|
|
|
2013-03-07 05:09:13 +01:00
|
|
|
rpms-vm:
|
2012-01-06 21:31:12 +01:00
|
|
|
rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-vm.spec
|
2013-03-12 17:10:49 +01:00
|
|
|
rpmbuild --define "_rpmdir $(RPMS_DIR)" -bb rpm_spec/core-vm-doc.spec
|
2011-04-04 10:55:25 +02:00
|
|
|
rpm --addsign \
|
2013-03-07 05:09:13 +01:00
|
|
|
$(RPMS_DIR)/x86_64/qubes-core-vm-*$(VERSION)*.rpm \
|
2015-11-10 16:58:03 +01:00
|
|
|
$(RPMS_DIR)/x86_64/qubes-core-vm-doc-*$(VERSION)*.rpm
|
2010-06-14 23:45:04 +02:00
|
|
|
|
2013-03-07 05:09:13 +01:00
|
|
|
rpms-dom0:
|
|
|
|
@true
|
2011-05-10 11:14:41 +02:00
|
|
|
|
2010-04-05 20:58:57 +02:00
|
|
|
clean:
|
2012-01-06 21:31:12 +01:00
|
|
|
make -C misc clean
|
2011-03-07 16:13:15 +01:00
|
|
|
make -C qrexec clean
|
2014-04-21 17:14:32 +02:00
|
|
|
make -C qubes-rpc clean
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2014-04-21 17:13:50 +02:00
|
|
|
all:
|
|
|
|
make -C misc
|
|
|
|
make -C qrexec
|
|
|
|
make -C qubes-rpc
|
|
|
|
|
2015-07-24 10:58:34 +02:00
|
|
|
# Dropin Directory
|
2015-11-07 13:25:21 +01:00
|
|
|
DROPIN_DIR ?= "lib/systemd"
|
2015-07-24 10:58:34 +02:00
|
|
|
|
2015-11-07 13:25:21 +01:00
|
|
|
# Fedora System Dropins
|
|
|
|
SYSTEM_DROPINS := chronyd.service crond.service cups.service cups.path cups.socket ModemManager.service
|
|
|
|
SYSTEM_DROPINS += NetworkManager.service NetworkManager-wait-online.service ntpd.service getty@tty.service
|
|
|
|
SYSTEM_DROPINS += tmp.mount
|
|
|
|
SYSTEM_DROPINS += org.cups.cupsd.service org.cups.cupsd.path org.cups.cupsd.socket
|
2015-07-24 10:58:34 +02:00
|
|
|
|
2015-11-07 18:28:45 +01:00
|
|
|
# Fedora User Dropins
|
|
|
|
USER_DROPINS := pulseaudio.service pulseaudio.socket
|
|
|
|
|
2015-07-24 10:58:34 +02:00
|
|
|
# Debian Dropins
|
|
|
|
ifeq ($(shell lsb_release -is), Debian)
|
|
|
|
# Don't have 'ntpd' in Debian
|
2015-11-07 13:25:21 +01:00
|
|
|
SYSTEM_DROPINS := $(filter-out ntpd.service, $(SYSTEM_DROPINS))
|
2015-07-24 10:58:34 +02:00
|
|
|
|
|
|
|
# 'crond.service' is named 'cron.service in Debian
|
2015-11-07 13:25:21 +01:00
|
|
|
SYSTEM_DROPINS := $(strip $(patsubst crond.service, cron.service, $(SYSTEM_DROPINS)))
|
2015-07-24 10:58:34 +02:00
|
|
|
|
2015-11-07 13:25:21 +01:00
|
|
|
# Wheezy System Dropins
|
2015-07-24 10:58:34 +02:00
|
|
|
# Disable sysinit 'network-manager.service' since systemd 'NetworkManager.service' is already installed
|
2015-11-07 13:25:21 +01:00
|
|
|
SYSTEM_DROPINS += $(strip $(if $(filter wheezy, $(shell lsb_release -cs)), network-manager.service,))
|
2015-08-09 20:32:35 +02:00
|
|
|
|
|
|
|
# handled by qubes-iptables service now
|
2015-11-07 13:25:21 +01:00
|
|
|
SYSTEM_DROPINS += netfilter-persistent.service
|
2015-07-24 10:58:34 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
install-systemd-dropins:
|
2015-11-07 13:25:21 +01:00
|
|
|
# Install system dropins
|
|
|
|
@for dropin in $(SYSTEM_DROPINS); do \
|
|
|
|
install -d $(DESTDIR)/$(DROPIN_DIR)/system/$${dropin}.d ;\
|
|
|
|
install -m 0644 vm-systemd/$${dropin}.d/*.conf $(DESTDIR)/$(DROPIN_DIR)/system/$${dropin}.d/ ;\
|
2015-07-24 10:58:34 +02:00
|
|
|
done
|
2015-11-07 18:28:45 +01:00
|
|
|
|
|
|
|
# Install user dropins
|
|
|
|
@for dropin in $(USER_DROPINS); do \
|
|
|
|
install -d $(DESTDIR)/$(DROPIN_DIR)/user/$${dropin}.d ;\
|
|
|
|
install -m 0644 vm-systemd/user/$${dropin}.d/*.conf $(DESTDIR)/$(DROPIN_DIR)/user/$${dropin}.d/ ;\
|
|
|
|
done
|
2015-07-24 10:58:34 +02:00
|
|
|
|
2014-09-29 22:57:55 +02:00
|
|
|
install-systemd:
|
2015-02-08 00:08:26 +01:00
|
|
|
install -d $(DESTDIR)$(SYSLIBDIR)/systemd/system{,-preset} $(DESTDIR)$(LIBDIR)/qubes/init $(DESTDIR)$(SYSLIBDIR)/modules-load.d
|
2015-01-06 15:59:15 +01:00
|
|
|
install -m 0755 vm-systemd/*.sh $(DESTDIR)$(LIBDIR)/qubes/init/
|
|
|
|
install -m 0644 vm-systemd/qubes-*.service $(DESTDIR)$(SYSLIBDIR)/systemd/system/
|
|
|
|
install -m 0644 vm-systemd/qubes-*.timer $(DESTDIR)$(SYSLIBDIR)/systemd/system/
|
2015-02-08 00:08:26 +01:00
|
|
|
install -m 0644 vm-systemd/75-qubes-vm.preset $(DESTDIR)$(SYSLIBDIR)/systemd/system-preset/
|
2015-01-06 15:59:15 +01:00
|
|
|
install -m 0644 vm-systemd/qubes-core.conf $(DESTDIR)$(SYSLIBDIR)/modules-load.d/
|
|
|
|
install -m 0644 vm-systemd/qubes-misc.conf $(DESTDIR)$(SYSLIBDIR)/modules-load.d/
|
2015-08-04 17:15:01 +02:00
|
|
|
install -m 0755 network/qubes-iptables $(DESTDIR)$(LIBDIR)/qubes/init/
|
2015-11-11 05:39:30 +01:00
|
|
|
install -D -m 0644 vm-systemd/qubes-core-agent-linux.tmpfiles \
|
|
|
|
$(DESTDIR)/usr/lib/tmpfiles.d/qubes-core-agent-linux.conf
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2014-09-29 22:57:55 +02:00
|
|
|
install-sysvinit:
|
|
|
|
install -d $(DESTDIR)/etc/init.d
|
|
|
|
install vm-init.d/qubes-core $(DESTDIR)/etc/init.d/
|
|
|
|
install vm-init.d/qubes-core-appvm $(DESTDIR)/etc/init.d/
|
|
|
|
install vm-init.d/qubes-core-netvm $(DESTDIR)/etc/init.d/
|
|
|
|
install vm-init.d/qubes-firewall $(DESTDIR)/etc/init.d/
|
|
|
|
install vm-init.d/qubes-netwatcher $(DESTDIR)/etc/init.d/
|
|
|
|
install vm-init.d/qubes-qrexec-agent $(DESTDIR)/etc/init.d/
|
|
|
|
install vm-init.d/qubes-updates-proxy $(DESTDIR)/etc/init.d/
|
|
|
|
install -D vm-init.d/qubes-core.modules $(DESTDIR)/etc/sysconfig/modules/qubes-core.modules
|
|
|
|
install -D vm-init.d/qubes-misc.modules $(DESTDIR)/etc/sysconfig/modules/qubes-misc.modules
|
2015-08-04 17:15:01 +02:00
|
|
|
install network/qubes-iptables $(DESTDIR)/etc/init.d/
|
2014-09-29 22:57:55 +02:00
|
|
|
|
2015-07-24 10:58:34 +02:00
|
|
|
install-rh: install-systemd install-systemd-dropins install-sysvinit
|
2014-11-20 16:52:55 +01:00
|
|
|
install -D -m 0644 misc/qubes-r3.repo $(DESTDIR)/etc/yum.repos.d/qubes-r3.repo
|
2013-04-17 01:44:28 +02:00
|
|
|
install -d $(DESTDIR)/usr/share/glib-2.0/schemas/
|
|
|
|
install -m 0644 misc/org.gnome.settings-daemon.plugins.updates.gschema.override $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2014-05-08 14:17:24 +02:00
|
|
|
install -m 0644 misc/org.gnome.nautilus.gschema.override $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2015-08-04 18:03:35 +02:00
|
|
|
install -m 0644 misc/org.mate.NotificationDaemon.gschema.override $(DESTDIR)/usr/share/glib-2.0/schemas/
|
2015-01-06 15:59:15 +01:00
|
|
|
install -d $(DESTDIR)$(LIBDIR)/yum-plugins/
|
|
|
|
install -m 0644 misc/yum-qubes-hooks.py* $(DESTDIR)$(LIBDIR)/yum-plugins/
|
2013-04-17 01:44:28 +02:00
|
|
|
install -D -m 0644 misc/yum-qubes-hooks.conf $(DESTDIR)/etc/yum/pluginconf.d/yum-qubes-hooks.conf
|
2014-04-21 17:13:50 +02:00
|
|
|
install -d -m 755 $(DESTDIR)/etc/pki/rpm-gpg
|
|
|
|
install -m 644 misc/RPM-GPG-KEY-qubes* $(DESTDIR)/etc/pki/rpm-gpg/
|
2015-01-06 15:59:15 +01:00
|
|
|
install -D -m 644 misc/session-stop-timeout.conf $(DESTDIR)$(LIBDIR)/systemd/system/user@.service.d/90-session-stop-timeout.conf
|
2014-04-21 17:13:50 +02:00
|
|
|
|
|
|
|
install -d $(DESTDIR)/etc/yum.conf.d
|
|
|
|
touch $(DESTDIR)/etc/yum.conf.d/qubes-proxy.conf
|
|
|
|
|
2014-09-25 03:57:33 +02:00
|
|
|
install -D -m 0644 misc/qubes-trigger-sync-appmenus.action $(DESTDIR)/etc/yum/post-actions/qubes-trigger-sync-appmenus.action
|
|
|
|
|
2014-04-21 17:13:50 +02:00
|
|
|
install -D -m 0644 misc/serial.conf $(DESTDIR)/usr/share/qubes/serial.conf
|
|
|
|
install -D misc/qubes-serial-login $(DESTDIR)/$(SBINDIR)/qubes-serial-login
|
2015-11-10 16:35:29 +01:00
|
|
|
install -D -m 0644 misc/dracut-qubes.conf \
|
|
|
|
$(DESTDIR)/usr/lib/dracut/dracut.conf.d/30-qubes.conf
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2015-11-10 16:49:29 +01:00
|
|
|
install -D -m 0644 misc/dnf-qubes-hooks.py \
|
|
|
|
$(DESTDIR)/usr/lib/python2.7/site-packages/dnf-plugins/qubes-hooks.py
|
|
|
|
install -D -m 0644 misc/dnf-qubes-hooks.pyc \
|
|
|
|
$(DESTDIR)/usr/lib/python2.7/site-packages/dnf-plugins/qubes-hooks.pyc
|
|
|
|
install -D -m 0644 misc/dnf-qubes-hooks.pyo \
|
|
|
|
$(DESTDIR)/usr/lib/python2.7/site-packages/dnf-plugins/qubes-hooks.pyo
|
|
|
|
install -D -m 0644 misc/dnf-qubes-hooks.conf $(DESTDIR)/etc/dnf/plugins/qubes-hooks.conf
|
|
|
|
|
|
|
|
|
2014-04-21 17:13:50 +02:00
|
|
|
install-common:
|
2015-08-27 21:29:32 +02:00
|
|
|
$(MAKE) -C autostart-dropins install
|
2015-02-03 04:36:55 +01:00
|
|
|
install -m 0644 -D misc/fstab $(DESTDIR)/etc/fstab
|
|
|
|
|
2014-04-21 17:13:50 +02:00
|
|
|
install -D -m 0440 misc/qubes.sudoers $(DESTDIR)/etc/sudoers.d/qubes
|
2015-08-16 02:54:21 +02:00
|
|
|
install -D -m 0440 misc/sudoers.d_qt_x11_no_mitshm $(DESTDIR)/etc/sudoers.d/qt_x11_no_mitshm
|
2015-10-19 16:03:57 +02:00
|
|
|
install -D -m 0440 misc/20_tcp_timestamps.conf $(DESTDIR)/etc/sysctl.d/20_tcp_timestamps.conf
|
2013-04-17 01:44:28 +02:00
|
|
|
|
|
|
|
install -d $(DESTDIR)/var/lib/qubes
|
|
|
|
|
|
|
|
install -D misc/xenstore-watch $(DESTDIR)/usr/bin/xenstore-watch-qubes
|
|
|
|
install -d $(DESTDIR)/etc/udev/rules.d
|
|
|
|
install -m 0644 misc/udev-qubes-misc.rules $(DESTDIR)/etc/udev/rules.d/50-qubes-misc.rules
|
2015-01-06 15:59:15 +01:00
|
|
|
install -d $(DESTDIR)$(LIBDIR)/qubes/
|
|
|
|
install misc/vusb-ctl.py $(DESTDIR)$(LIBDIR)/qubes/
|
|
|
|
install misc/qubes-trigger-sync-appmenus.sh $(DESTDIR)$(LIBDIR)/qubes/
|
2013-04-17 01:44:28 +02:00
|
|
|
install -D misc/polkit-1-qubes-allow-all.pkla $(DESTDIR)/etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla
|
|
|
|
install -D misc/polkit-1-qubes-allow-all.rules $(DESTDIR)/etc/polkit-1/rules.d/00-qubes-allow-all.rules
|
2013-11-14 21:38:27 +01:00
|
|
|
install -D -m 0644 misc/mime-globs $(DESTDIR)/usr/share/qubes/mime-override/globs
|
2015-04-14 00:21:06 +02:00
|
|
|
install misc/qubes-download-dom0-updates.sh $(DESTDIR)$(LIBDIR)/qubes/
|
2015-06-16 02:22:42 +02:00
|
|
|
install -g user -m 2775 -d $(DESTDIR)/var/lib/qubes/dom0-updates
|
2013-04-17 01:44:28 +02:00
|
|
|
|
|
|
|
if [ -r misc/dispvm-dotfiles.$(DIST).tbz ] ; \
|
|
|
|
then \
|
|
|
|
install misc/dispvm-dotfiles.$(DIST).tbz $(DESTDIR)/etc/dispvm-dotfiles.tbz ; \
|
|
|
|
else \
|
|
|
|
install misc/dispvm-dotfiles.tbz $(DESTDIR)/etc/dispvm-dotfiles.tbz ; \
|
|
|
|
fi;
|
|
|
|
|
2015-01-06 15:59:15 +01:00
|
|
|
install misc/dispvm-prerun.sh $(DESTDIR)$(LIBDIR)/qubes/dispvm-prerun.sh
|
|
|
|
install misc/close-window $(DESTDIR)$(LIBDIR)/qubes/close-window
|
2013-04-17 01:44:28 +02:00
|
|
|
|
|
|
|
install -m 0644 network/udev-qubes-network.rules $(DESTDIR)/etc/udev/rules.d/99-qubes-network.rules
|
2015-01-06 15:59:15 +01:00
|
|
|
install network/qubes-setup-dnat-to-ns $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install network/setup-ip $(DESTDIR)$(LIBDIR)/qubes/
|
|
|
|
install network/network-manager-prepare-conf-dir $(DESTDIR)$(LIBDIR)/qubes/
|
2013-04-17 01:44:28 +02:00
|
|
|
install -d $(DESTDIR)/etc/dhclient.d
|
|
|
|
ln -s /usr/lib/qubes/qubes-setup-dnat-to-ns $(DESTDIR)/etc/dhclient.d/qubes-setup-dnat-to-ns.sh
|
|
|
|
install -d $(DESTDIR)/etc/NetworkManager/dispatcher.d/
|
|
|
|
install network/{qubes-nmhook,30-qubes-external-ip} $(DESTDIR)/etc/NetworkManager/dispatcher.d/
|
2015-10-06 15:15:26 +02:00
|
|
|
install -m 0644 -D network/NetworkManager-qubes.conf \
|
|
|
|
$(DESTDIR)/etc/NetworkManager/conf.d/30-qubes.conf
|
2013-04-17 01:44:28 +02:00
|
|
|
install -D network/vif-route-qubes $(DESTDIR)/etc/xen/scripts/vif-route-qubes
|
2014-09-27 00:11:10 +02:00
|
|
|
install -m 0644 -D network/tinyproxy-updates.conf $(DESTDIR)/etc/tinyproxy/tinyproxy-updates.conf
|
|
|
|
install -m 0644 -D network/filter-updates $(DESTDIR)/etc/tinyproxy/filter-updates
|
2015-01-06 15:59:15 +01:00
|
|
|
install -m 0755 -D network/iptables-updates-proxy $(DESTDIR)$(LIBDIR)/qubes/iptables-updates-proxy
|
2014-02-07 02:16:39 +01:00
|
|
|
install -d $(DESTDIR)/etc/xdg/autostart
|
2015-01-06 15:59:15 +01:00
|
|
|
install -m 0755 network/show-hide-nm-applet.sh $(DESTDIR)$(LIBDIR)/qubes/show-hide-nm-applet.sh
|
2014-05-15 01:27:31 +02:00
|
|
|
install -m 0644 network/show-hide-nm-applet.desktop $(DESTDIR)/etc/xdg/autostart/00-qubes-show-hide-nm-applet.desktop
|
2015-08-04 17:15:01 +02:00
|
|
|
install -m 0400 -D network/iptables $(DESTDIR)/etc/qubes/iptables.rules
|
|
|
|
install -m 0400 -D network/ip6tables $(DESTDIR)/etc/qubes/ip6tables.rules
|
2015-10-30 15:13:56 +01:00
|
|
|
install -m 0755 network/update-proxy-configs $(DESTDIR)$(LIBDIR)/qubes/
|
2015-08-04 17:15:01 +02:00
|
|
|
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2013-08-07 11:20:33 +02:00
|
|
|
install -d $(DESTDIR)/$(SBINDIR)
|
|
|
|
install network/qubes-firewall $(DESTDIR)/$(SBINDIR)/
|
|
|
|
install network/qubes-netwatcher $(DESTDIR)/$(SBINDIR)/
|
2013-04-17 01:44:28 +02:00
|
|
|
|
|
|
|
install -d $(DESTDIR)/usr/bin
|
2015-08-27 21:29:32 +02:00
|
|
|
install -m 0755 misc/qubes-session-autostart $(DESTDIR)/usr/bin/qubes-session-autostart
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2014-03-24 05:19:16 +01:00
|
|
|
install qubes-rpc/{qvm-open-in-dvm,qvm-open-in-vm,qvm-copy-to-vm,qvm-move-to-vm,qvm-run,qvm-mru-entry} $(DESTDIR)/usr/bin
|
2015-01-06 15:59:15 +01:00
|
|
|
install qubes-rpc/wrap-in-html-if-url.sh $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/qvm-copy-to-vm.kde $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/qvm-copy-to-vm.gnome $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/qvm-move-to-vm.kde $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/qvm-move-to-vm.gnome $(DESTDIR)$(LIBDIR)/qubes
|
2015-09-06 21:05:01 +02:00
|
|
|
install qubes-rpc/xdg-icon $(DESTDIR)$(LIBDIR)/qubes
|
2015-01-06 15:59:15 +01:00
|
|
|
install qubes-rpc/{vm-file-editor,qfile-agent,qopen-in-vm} $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/tar2qfile $(DESTDIR)$(LIBDIR)/qubes
|
2013-04-17 01:44:28 +02:00
|
|
|
# Install qfile-unpacker as SUID - because it will fail to receive files from other vm
|
2015-01-06 15:59:15 +01:00
|
|
|
install -m 4755 qubes-rpc/qfile-unpacker $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/qrun-in-vm $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/sync-ntp-clock $(DESTDIR)$(LIBDIR)/qubes
|
|
|
|
install qubes-rpc/prepare-suspend $(DESTDIR)$(LIBDIR)/qubes
|
2013-04-17 01:44:28 +02:00
|
|
|
install -d $(DESTDIR)/$(KDESERVICEDIR)
|
2014-03-24 05:19:16 +01:00
|
|
|
install -m 0644 qubes-rpc/{qvm-copy.desktop,qvm-move.desktop,qvm-dvm.desktop} $(DESTDIR)/$(KDESERVICEDIR)
|
2013-04-17 01:44:28 +02:00
|
|
|
install -d $(DESTDIR)/etc/qubes-rpc
|
|
|
|
install -m 0644 qubes-rpc/{qubes.Filecopy,qubes.OpenInVM,qubes.VMShell,qubes.SyncNtpClock} $(DESTDIR)/etc/qubes-rpc
|
|
|
|
install -m 0644 qubes-rpc/{qubes.SuspendPre,qubes.SuspendPost,qubes.GetAppmenus} $(DESTDIR)/etc/qubes-rpc
|
|
|
|
install -m 0644 qubes-rpc/qubes.WaitForSession $(DESTDIR)/etc/qubes-rpc
|
2013-09-01 01:28:07 +02:00
|
|
|
install -m 0644 qubes-rpc/qubes.DetachPciDevice $(DESTDIR)/etc/qubes-rpc
|
2013-11-09 19:01:57 +01:00
|
|
|
install -m 0644 qubes-rpc/qubes.{Backup,Restore} $(DESTDIR)/etc/qubes-rpc
|
2014-01-13 05:07:23 +01:00
|
|
|
install -m 0644 qubes-rpc/qubes.Select{File,Directory} $(DESTDIR)/etc/qubes-rpc
|
2014-01-30 16:30:17 +01:00
|
|
|
install -m 0644 qubes-rpc/qubes.GetImageRGBA $(DESTDIR)/etc/qubes-rpc
|
2014-09-30 03:29:58 +02:00
|
|
|
install -m 0644 qubes-rpc/qubes.SetDateTime $(DESTDIR)/etc/qubes-rpc
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2015-02-27 06:52:17 +01:00
|
|
|
install -d $(DESTDIR)/usr/share/nautilus-python/extensions
|
|
|
|
install -m 0644 qubes-rpc/*_nautilus.py $(DESTDIR)/usr/share/nautilus-python/extensions
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2014-10-27 12:25:45 +01:00
|
|
|
install -D -m 0755 misc/qubes-desktop-run $(DESTDIR)/usr/bin/qubes-desktop-run
|
2013-04-17 01:44:28 +02:00
|
|
|
|
2015-08-27 20:08:33 +02:00
|
|
|
mkdir -p $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
2015-09-13 19:19:25 +02:00
|
|
|
|
|
|
|
ifeq ($(shell lsb_release -is), Debian)
|
2015-08-27 20:08:33 +02:00
|
|
|
install -m 0644 misc/xdg.py $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
|
|
|
else
|
|
|
|
install -m 0644 misc/xdg.py* $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
|
|
|
endif
|
|
|
|
|
2013-04-17 01:44:28 +02:00
|
|
|
install -d $(DESTDIR)/mnt/removable
|
|
|
|
|
|
|
|
install -D -m 0644 misc/xorg-preload-apps.conf $(DESTDIR)/etc/X11/xorg-preload-apps.conf
|
|
|
|
|
|
|
|
install -d $(DESTDIR)/var/run/qubes
|
|
|
|
install -d $(DESTDIR)/home_volatile/user
|
2014-10-19 04:32:57 +02:00
|
|
|
install -d $(DESTDIR)/rw
|
2014-04-21 17:13:50 +02:00
|
|
|
|
2015-07-24 10:58:34 +02:00
|
|
|
install-deb: install-common install-systemd install-systemd-dropins
|
2014-07-27 06:11:43 +02:00
|
|
|
mkdir -p $(DESTDIR)/etc/apt/sources.list.d
|
2014-12-01 22:31:02 +01:00
|
|
|
sed -e "s/@DIST@/`lsb_release -cs`/" misc/qubes-r3.list.in > $(DESTDIR)/etc/apt/sources.list.d/qubes-r3.list
|
2014-07-27 06:11:43 +02:00
|
|
|
install -D -m 644 misc/qubes-archive-keyring.gpg $(DESTDIR)/etc/apt/trusted.gpg.d/qubes-archive-keyring.gpg
|
2015-07-20 22:42:47 +02:00
|
|
|
install -D -m 644 network/00notify-hook $(DESTDIR)/etc/apt/apt.conf.d/00notify-hook
|
2014-09-26 18:55:42 +02:00
|
|
|
install -d $(DESTDIR)/etc/sysctl.d
|
|
|
|
install -m 644 network/80-qubes.conf $(DESTDIR)/etc/sysctl.d/
|
2015-02-02 23:33:07 +01:00
|
|
|
install -D -m 644 misc/profile.d_qt_x11_no_mitshm.sh $(DESTDIR)/etc/profile.d/qt_x11_no_mitshm.sh
|
|
|
|
install -D -m 440 misc/sudoers.d_umask $(DESTDIR)/etc/sudoers.d/umask
|
2015-09-13 19:19:25 +02:00
|
|
|
install -d $(DESTDIR)/etc/pam.d
|
|
|
|
install -m 0644 misc/pam.d_su.qubes $(DESTDIR)/etc/pam.d/su.qubes
|
2014-07-27 06:11:43 +02:00
|
|
|
|
2014-04-21 17:13:50 +02:00
|
|
|
install-vm: install-rh install-common
|