You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.4 KiB

  1. #! /usr/bin/make -f
  2. # The options have been chooses as follows:
  3. # - manually set pamlibdir because we'Re installing in /usr by default but
  4. # pam libs must go to /lib/*/security, same for udev rules
  5. # - disable killing users processes by default. This is weird an unexpected
  6. # behavior
  7. # - SELinux build is broken on 239 (fix available for 240)
  8. # - tests disabled beacuase some of the tests seem to require elogind running.
  9. # Need to sort out which tests could be run
  10. CONFFLAGS = \
  11. -Dpamlibdir=/lib/$(DEB_HOST_MULTIARCH)/security \
  12. -Drootlibdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
  13. -Dsplit-usr=true \
  14. -Ddocdir=/usr/share/doc/elogind \
  15. -Dudevrulesdir=/lib/udev/rules.d \
  16. -Ddefault-kill-user-processes=false \
  17. -Dselinux=false \
  18. -Dtests=false
  19. CONFFLAGS_CGROUPCTRL_ELOGIND= \
  20. -Dcgroup-controller=elogind
  21. override_dh_auto_configure:
  22. dh_auto_configure --builddirectory=build \
  23. -- $(CONFFLAGS) $(CONFFLAGS_CGROUPCTRL_ELOGIND)
  24. override_dh_auto_install:
  25. dh_auto_install --builddirectory=build
  26. override_dh_auto_clean:
  27. dh_auto_clean --builddirectory=build
  28. # remove Python byte code files
  29. rm -rf tools/__pycache__/
  30. override_dh_missing:
  31. dh_missing --list-missing
  32. override_dh_makeshlibs:
  33. dh_makeshlibs -pelogind -Xlibelogind-shared
  34. dh_makeshlibs --remaining
  35. override_dh_shlibdeps:
  36. dh_shlibdeps -- -xlibeudev1
  37. %:
  38. dh $@ --builddirectory=build --without autoreconf,systemd --buildsystem=meson