From 0ae0bd9af915abccdae8e471cf624f8ece2b910d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Droz?= Date: Fri, 23 Oct 2020 17:03:06 -0300 Subject: [PATCH] packaging fixes --- .gitignore | 1 + Makefile | 1 - debian/rules | 8 ++++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6d31fb1..e5a8566 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ smailq.1 debian/smailq/ debian/tmp/ +debian/.debhelper/ diff --git a/Makefile b/Makefile index 7f0faf4..76d1670 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,6 @@ install: all install -m 0755 sendmail $(SBINPATH)/sendmail install -m 0644 smailq.conf $(CONFFILE) install -m 0644 smailq.1 $(MANPATH)/smailq.1 - bzip2 -f $(MANPATH)/smailq.1 manpage: smailq.1 diff --git a/debian/rules b/debian/rules index e6a9aad..1e24e4f 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ install: build dh_prep dh_installdirs - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + $(MAKE) install DESTDIR=$(CURDIR)/debian/smailq binary-indep: install dh_testdir @@ -33,4 +33,8 @@ clean: dh_clean rm -f debian/postinst.debhelper debian/prerm.debhelper -.PHONY: build install binary binary-indep clean +binary-arch: build install + +binary: binary-indep binary-arch + +.PHONY: clean build install binary binary-indep binary-arch binary install -- 2.39.5