2013-08-16 16:03:39 -07:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode.
|
2013-08-27 14:31:45 -07:00
|
|
|
#export DH_VERBOSE=1
|
2013-08-16 16:03:39 -07:00
|
|
|
|
2022-08-07 23:31:21 -07:00
|
|
|
EXCLUDE_MODULEREFS = crypt32 httpapi __Internal ole32.dll
|
2018-10-27 19:45:03 +02:00
|
|
|
|
2013-08-16 16:03:39 -07: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))
|