rules 539 B

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