]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Reorder the dh calls in the "install" and "binary-arch" targets just
authorPeter Pentchev <roam@ringlet.net>
Tue, 10 Mar 2009 12:43:02 +0000 (12:43 +0000)
committerPeter Pentchev <roam@ringlet.net>
Tue, 10 Mar 2009 12:43:02 +0000 (12:43 +0000)
the way dh(1) would do them.

rules

diff --git a/rules b/rules
index 6efaa552a92457f0aa99808eace63e25353f7127..8758522575df909c6e4d138683f9fdb29172f332 100755 (executable)
--- a/rules
+++ b/rules
@@ -46,41 +46,41 @@ install: build
        dh_clean -k 
        dh_installdirs
        pmake DESTDIR=$(CURDIR)/debian/$(PACKAGE) BINDIR=/usr/sbin install
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
        install -d -o root -g mail -m 770 $(CURDIR)/debian/$(PACKAGE)/var/spool/dma
-       install -c -o root -g root -m 644 $(CURDIR)/debian/dma.lintian-overrides $(CURDIR)/debian/$(PACKAGE)/usr/share/lintian/overrides/$(PACKAGE)
-       dh_installchangelogs 
+       dh_install
        dh_installdocs
+       dh_installchangelogs 
        dh_installexamples
-       dh_install
-#      dh_installmenu
+       dh_installcron
 #      dh_installdebconf       
-#      dh_installlogrotate
 #      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_python
-#      dh_installinit
-       dh_installcron
 #      dh_installinfo
+#      dh_installinit
        dh_installman
+#      dh_installmenu
+#      dh_installmime
+#      dh_installlogrotate
+#      dh_installpam
+       install -c -o root -g root -m 644 $(CURDIR)/debian/dma.lintian-overrides $(CURDIR)/debian/$(PACKAGE)/usr/share/lintian/overrides/$(PACKAGE)
+#      dh_perl
+#      dh_python
        dh_link usr/sbin/dma usr/sbin/sendmail
        dh_link usr/share/man/man8/dma.8 usr/share/man/man8/sendmail.8
-       dh_strip
        dh_compress
        dh_fixperms -Xusr/sbin/dma -Xvar/spool/dma
-#      dh_perl
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_strip
 #      dh_makeshlibs
-       dh_installdeb
        dh_shlibdeps
+       dh_installdeb
        dh_gencontrol
        dh_md5sums
        dh_builddeb