2018-08-08 01:18:59 -04:00
|
|
|
#! /usr/bin/make -f
|
2018-08-09 21:59:53 -04:00
|
|
|
CONFIG := Release
|
|
|
|
TERM := xterm
|
2018-08-08 01:18:59 -04:00
|
|
|
SHELL := /bin/bash
|
|
|
|
export DH_VERBOSE=1
|
|
|
|
|
|
|
|
%:
|
2018-08-09 21:59:53 -04:00
|
|
|
dh $@
|
2018-08-08 01:18:59 -04:00
|
|
|
|
|
|
|
# disable "make check"
|
|
|
|
override_dh_auto_test:
|
|
|
|
|
|
|
|
# disable stripping debugging symbols
|
|
|
|
override_dh_clistrip:
|
|
|
|
|
|
|
|
override_dh_auto_build:
|
2018-12-09 18:45:08 -05:00
|
|
|
# dotnet build --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/emby-server/bin'
|
|
|
|
dotnet publish --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln --output='$(CURDIR)/usr/lib/emby-server/bin'
|
2018-08-08 01:18:59 -04:00
|
|
|
|
|
|
|
override_dh_auto_clean:
|
2018-12-09 18:45:08 -05:00
|
|
|
dotnet clean --configuration $(CONFIG) $(CURDIR)/MediaBrowser.sln
|
|
|
|
rm -rf '$(CURDIR)/usr/lib/emby-server'
|