rules 634 B

123456789101112131415161718192021222324
  1. #! /usr/bin/make -f
  2. CONFIG := Release
  3. TERM := xterm
  4. SHELL := /bin/bash
  5. export DH_VERBOSE=1
  6. %:
  7. dh $@
  8. # disable "make check"
  9. override_dh_auto_test:
  10. # disable stripping debugging symbols
  11. override_dh_clistrip:
  12. override_dh_auto_build:
  13. git submodule init
  14. git submodule update
  15. dotnet build --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/jellyfin/bin'
  16. dotnet publish --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/jellyfin/bin'
  17. override_dh_auto_clean:
  18. dotnet clean --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln || true
  19. rm -rf '$(CURDIR)/usr/lib/jellyfin'