From: Ralph Ronnquist Date: Thu, 29 Sep 2022 06:21:38 +0000 (+1000) Subject: lintian override for static binary X-Git-Tag: 1.5.3~1 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=365e68dc3b700a8c80eab892243ddf7c1de50eb0;p=rrq%2Frrqnet.git lintian override for static binary --- diff --git a/Makefile b/Makefile index 5dbeb17..5bb99a0 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ SBINDIR = $(DESTDIR)/usr/sbin ETCDIR = $(DESTDIR)/etc/rrqnet MAN1DIR = $(DESTDIR)/usr/share/man/man1 MAN8DIR = $(DESTDIR)/usr/share/man/man8 +LINTIAN = $(DESTDIR)/usr/share/lintian/overrides SBINCFILES = rrqnet SBINFILES = rrqnet-cron $(SBINCFILES) @@ -45,10 +46,15 @@ INSTALLTARGETS = $(addprefix $(SBINDIR)/,$(SBINFILES)) INSTALLTARGETS += $(addprefix $(ETCDIR)/,$(ETCFILES)) INSTALLTARGETS += $(addprefix $(MAN1DIR)/,$(MAN1FILES)) INSTALLTARGETS += $(addprefix $(MAN8DIR)/,$(MAN8FILES)) +INSTALLTARGETS += $(LINTIAN)/rrqnet #INSTALL = install -b -S orig INSTALL = install +$(LINTIAN)/rrqnet: debian/lintian-overrides + mkdir -p ${@:/rrqnet=} + cp $^ $@ + $(addprefix $(ETCDIR)/,conf.d keys): mkdir -p $@ diff --git a/debian/lintian-overrides b/debian/lintian-overrides new file mode 100644 index 0000000..c74c286 --- /dev/null +++ b/debian/lintian-overrides @@ -0,0 +1,2 @@ +# The rrqnet binary is compiled static +rrqnet binary: statically-linked-binary [usr/sbin/rrqnet]