rules 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3. # Uncomment this to turn on verbose mode.
  4. #export DH_VERBOSE=1
  5. export PYTHON_PREFIX_ARG=--install-layout=deb
  6. include /usr/share/dpkg/default.mk
  7. export DESTDIR=$(shell pwd)/debian/tmp
  8. %:
  9. dh $@ --with systemd,python3 --with=config-package
  10. override_dh_auto_build:
  11. make all
  12. override_dh_auto_install:
  13. make install-deb
  14. make -C app-menu install
  15. make -C config-overrides install
  16. make -C filesystem install
  17. make -C misc install
  18. make -C network install
  19. make -C package-managers install
  20. make -C package-managers install-apt
  21. make -C passwordless-root install
  22. make -C passwordless-root/debian install
  23. make -C qubes-rpc install
  24. make -C qubes-rpc/kde install
  25. make -C qubes-rpc/nautilus install
  26. make -C qubes-rpc/thunar install
  27. install -D -m 0644 boot/grub.qubes $(DESTDIR)/etc/default/grub.d/30-qubes.cfg
  28. override_dh_fixperms:
  29. dh_fixperms -a -Xqfile-unpacker
  30. override_dh_systemd_start:
  31. dh_systemd_start --no-restart-on-upgrade
  32. override_dh_install:
  33. dh_install --fail-missing