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
|
|
|
|
2019-12-25 10:50:25 +00:00
|
|
|
EXCLUDE_MODULEREFS = crypt32 httpapi __Internal
|
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))
|