2013-08-17 02:03:39 +03:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
2013-08-28 00:31:45 +03:00
|
|
|
#export DH_VERBOSE=1
|
2013-08-17 02:03:39 +03:00
|
|
|
|
2018-11-24 12:37:15 +02: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 19:45:03 +02:00
|
|
|
|
2013-08-17 02:03:39 +03:00
|
|
|
%:
|
2018-10-27 19:45:03 +02:00
|
|
|
dh $@ --with=systemd --with=cli
|
2018-10-27 19:43:41 +02:00
|
|
|
|
|
|
|
# No init script, only systemd
|
|
|
|
override_dh_installinit:
|
|
|
|
true
|
2018-10-27 19:45:03 +02:00
|
|
|
|
2019-07-14 21:35:16 +02:00
|
|
|
# Sonarr likes debug symbols for logging
|
2018-10-27 19:45:03 +02:00
|
|
|
override_dh_clistrip:
|
|
|
|
|
|
|
|
override_dh_makeclilibs:
|
|
|
|
|
|
|
|
override_dh_clideps:
|
|
|
|
dh_clideps -d -r $(patsubst %,--exclude-moduleref=%,$(EXCLUDE_MODULEREFS))
|