2013-08-16 23:03:39 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
# Sample debian/rules that uses debhelper.
|
|
|
|
# This file was originally written by Joey Hess and Craig Small.
|
|
|
|
# As a special exception, when this file is copied by dh-make into a
|
|
|
|
# dh-make output file, you may use that output file without restriction.
|
|
|
|
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
|
|
|
|
|
|
|
# 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-18 19:11:04 +00:00
|
|
|
EXCLUDE_MODULEREFS = crypt32 httpapi
|
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
|
|
|
|
|
|
|
# Sonarr like debug symbols for logging
|
|
|
|
override_dh_clistrip:
|
|
|
|
|
|
|
|
override_dh_makeclilibs:
|
|
|
|
|
|
|
|
override_dh_clideps:
|
|
|
|
dh_clideps -d -r $(patsubst %,--exclude-moduleref=%,$(EXCLUDE_MODULEREFS))
|