2013-08-16 23:03:39 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
2013-08-27 21:31:45 +00:00
|
|
|
#export DH_VERBOSE=1
|
2013-08-16 23:03:39 +00:00
|
|
|
|
2018-11-24 10:37:15 +00:00
|
|
|
# Note: System.Native is a dependency of System.Runtime.InteropServices.RuntimeInformation used by SharpRaven,
|
|
|
|
# but SharpRaven doesn't use any functions that need System.Native
|
|
|
|
EXCLUDE_MODULEREFS = crypt32 httpapi System.Native
|
2018-10-27 17:45:03 +00:00
|
|
|
|
2013-08-16 23:03:39 +00:00
|
|
|
%:
|
2018-10-27 17:45:03 +00:00
|
|
|
dh $@ --with=systemd --with=cli
|
2018-10-27 17:43:41 +00:00
|
|
|
|
|
|
|
# No init script, only systemd
|
|
|
|
override_dh_installinit:
|
|
|
|
true
|
2018-10-27 17:45:03 +00:00
|
|
|
|
2019-07-14 19:35:16 +00:00
|
|
|
# Sonarr likes debug symbols for logging
|
2018-10-27 17:45:03 +00:00
|
|
|
override_dh_clistrip:
|
|
|
|
|
|
|
|
override_dh_makeclilibs:
|
|
|
|
|
|
|
|
override_dh_clideps:
|
|
|
|
dh_clideps -d -r $(patsubst %,--exclude-moduleref=%,$(EXCLUDE_MODULEREFS))
|