2013-08-17 02:03:39 +03: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-28 00:31:45 +03:00
|
|
|
#export DH_VERBOSE=1
|
2013-08-17 02:03:39 +03:00
|
|
|
|
2018-10-27 19:45:03 +02:00
|
|
|
EXCLUDE_MODULEREFS = crypt32 httpapi ntdll api-ms-win-core-sysinfo-l1-1-0 api-ms-win-core-sysinfo-l1-2-0 \
|
|
|
|
libcurl3 msbuild
|
|
|
|
|
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
|
|
|
|
|
|
|
# Sonarr like debug symbols for logging
|
|
|
|
override_dh_clistrip:
|
|
|
|
|
|
|
|
override_dh_makeclilibs:
|
|
|
|
|
|
|
|
override_dh_clideps:
|
|
|
|
dh_clideps -d -r $(patsubst %,--exclude-moduleref=%,$(EXCLUDE_MODULEREFS))
|