Package: irqbalance Version: 1.5.0-4 Severity: wishlist Tags: patch From 20847346b88d621a2c4e86c07ed929ce0496b460 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov <kact...@debian.org> Date: Fri, 16 Aug 2019 10:08:08 +0000 Subject: [PATCH] Move code to link with libsystemd into separate file
This change makes `debian/rules' simplier and cleaner, and makes live of downstream distributions easier. --- debian/config/systemd.mk | 3 +++ debian/rules | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 debian/config/systemd.mk diff --git a/debian/config/systemd.mk b/debian/config/systemd.mk new file mode 100644 index 0000000..d291743 --- /dev/null +++ b/debian/config/systemd.mk @@ -0,0 +1,3 @@ +ifeq (linux,$(DEB_HOST_ARCH_OS)) + confflags += --with-systemd +endif diff --git a/debian/rules b/debian/rules index 37a1513..d5c3a2a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,6 @@ #!/usr/bin/make -f # -*- makefile -*- +include debian/config/systemd.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -11,11 +12,7 @@ TMP = $(CURDIR)/debian/$(PACKAGE) dh $@ --with autoreconf,runit override_dh_auto_configure: -ifeq (linux,$(DEB_HOST_ARCH_OS)) - dh_auto_configure -- --with-systemd -else - dh_auto_configure -endif + dh_auto_configure -- $(confflags) override_dh_install: dh_install -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.
pgp_vA1ZvoIjG.pgp
Description: PGP signature