2014-05-02 01:47:52 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
2017-05-21 01:46:53 +02:00
|
|
|
export PYTHON_PREFIX_ARG=--install-layout=deb
|
2014-05-02 01:47:52 +02:00
|
|
|
|
2015-02-10 16:40:51 +01:00
|
|
|
include /usr/share/dpkg/default.mk
|
2017-05-21 01:46:53 +02:00
|
|
|
export DESTDIR=$(shell pwd)/debian/tmp
|
2014-05-02 01:47:52 +02:00
|
|
|
|
|
|
|
%:
|
2019-09-19 04:57:13 +02:00
|
|
|
dh $@ --with systemd,python3 --with=config-package
|
2014-05-02 01:47:52 +02:00
|
|
|
|
|
|
|
override_dh_auto_build:
|
|
|
|
make all
|
|
|
|
|
|
|
|
override_dh_auto_install:
|
2015-07-24 11:02:56 +02:00
|
|
|
make install-deb
|
2019-10-21 00:57:19 +02:00
|
|
|
make -C app-menu install
|
2019-12-14 20:02:25 +01:00
|
|
|
make -C config-overrides install
|
2019-10-21 00:57:19 +02:00
|
|
|
make -C filesystem install
|
|
|
|
make -C misc install
|
|
|
|
make -C network install
|
|
|
|
make -C package-managers install
|
|
|
|
make -C package-managers install-apt
|
2020-05-07 15:29:26 +02:00
|
|
|
make -C passwordless-root install install-debian
|
2019-09-21 12:17:47 +02:00
|
|
|
make -C qubes-rpc install
|
|
|
|
make -C qubes-rpc/kde install
|
|
|
|
make -C qubes-rpc/nautilus install
|
|
|
|
make -C qubes-rpc/thunar install
|
2019-10-21 00:57:19 +02:00
|
|
|
install -D -m 0644 boot/grub.qubes $(DESTDIR)/etc/default/grub.d/30-qubes.cfg
|
2014-05-02 01:47:52 +02:00
|
|
|
|
2014-07-28 02:29:00 +02:00
|
|
|
override_dh_fixperms:
|
|
|
|
dh_fixperms -a -Xqfile-unpacker
|
2014-07-28 02:29:26 +02:00
|
|
|
|
2014-09-29 22:57:55 +02:00
|
|
|
override_dh_systemd_start:
|
|
|
|
dh_systemd_start --no-restart-on-upgrade
|
2017-05-21 01:46:53 +02:00
|
|
|
|
|
|
|
override_dh_install:
|
|
|
|
dh_install --fail-missing
|
2020-05-21 12:40:28 +02:00
|
|
|
|
|
|
|
override_dh_gencontrol:
|
2020-08-06 05:30:37 +02:00
|
|
|
ifneq ($(shell grep -o '^9\|^10' /etc/debian_version),)
|
2020-05-21 12:40:28 +02:00
|
|
|
echo "pythonver:Depends=python" >> debian/qubes-core-agent-nautilus.substvars
|
|
|
|
else
|
|
|
|
echo "pythonver:Depends=python3" >> debian/qubes-core-agent-nautilus.substvars
|
|
|
|
endif
|
|
|
|
dh_gencontrol
|