rules 505 B

12345678910111213141516171819202122
  1. #! /usr/bin/make -f
  2. CONFIG := Release
  3. TERM := xterm
  4. SHELL := /bin/bash
  5. export DH_VERBOSE=1
  6. export DOTNET_CLI_TELEMETRY_OPTOUT=1
  7. %:
  8. dh $@
  9. # disable "make check"
  10. override_dh_auto_test:
  11. # disable stripping debugging symbols
  12. override_dh_clistrip:
  13. override_dh_auto_build:
  14. dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime linux-x64
  15. override_dh_auto_clean:
  16. dotnet clean -maxcpucount:1 --configuration $(CONFIG) || true
  17. rm -rf '$(CURDIR)/usr'