]> git.sthu.org Git - smailq.git/commitdiff
packaging fixes
authorRaphaël Droz <raphael.droz+floss@gmail.com>
Fri, 23 Oct 2020 20:03:06 +0000 (17:03 -0300)
committerRaphaël Droz <raphael.droz+floss@gmail.com>
Fri, 23 Oct 2020 20:03:06 +0000 (17:03 -0300)
.gitignore
Makefile
debian/rules

index 6d31fb18d1de61b013723ff539a020c6f83045a0..e5a8566079777d883a598c13b0984835c20cdfc4 100644 (file)
@@ -1,3 +1,4 @@
 smailq.1
 debian/smailq/
 debian/tmp/
+debian/.debhelper/
index 7f0faf45e8b5bc956ffa09df14d709cfba930a60..76d1670385bc43f14f884b7a4446d59e15fd45d6 100644 (file)
--- 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
 
index e6a9aadf2723c6b966130dfe55ea7c05fd0b2043..1e24e4fe7580799573434a9cebe99a1a01ec4bf8 100755 (executable)
@@ -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