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.
24 lines
572 B
24 lines
572 B
6 years ago
|
#! /usr/bin/make -f
|
||
6 years ago
|
CONFIG := Release
|
||
|
TERM := xterm
|
||
6 years ago
|
SHELL := /bin/bash
|
||
6 years ago
|
DOTNETRUNTIME := debian-x64
|
||
6 years ago
|
export DH_VERBOSE=1
|
||
6 years ago
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||
6 years ago
|
|
||
|
%:
|
||
6 years ago
|
dh $@
|
||
6 years ago
|
|
||
|
# disable "make check"
|
||
|
override_dh_auto_test:
|
||
|
|
||
|
# disable stripping debugging symbols
|
||
|
override_dh_clistrip:
|
||
|
|
||
|
override_dh_auto_build:
|
||
6 years ago
|
dotnet publish --configuration $(CONFIG) --output='$(CURDIR)/usr/lib/jellyfin/bin' --self-contained --runtime $(DOTNETRUNTIME) Jellyfin.Server
|
||
6 years ago
|
|
||
|
override_dh_auto_clean:
|
||
6 years ago
|
dotnet clean -maxcpucount:1 --configuration $(CONFIG) Jellyfin.Server || true
|
||
6 years ago
|
rm -rf '$(CURDIR)/usr'
|