From: Raphaƫl Droz Date: Fri, 23 Oct 2020 20:03:06 +0000 (-0300) Subject: packaging fixes X-Git-Tag: v1.3~2 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=0ae0bd9af915abccdae8e471cf624f8ece2b910d;p=smailq.git packaging fixes --- 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