From: Peter Pentchev Date: Tue, 10 Mar 2009 12:43:02 +0000 (+0000) Subject: Reorder the dh calls in the "install" and "binary-arch" targets just X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b840717db7cb828212fa16c4e368dfac1844c9;p=people%2Fms%2Fdma.git Reorder the dh calls in the "install" and "binary-arch" targets just the way dh(1) would do them. --- diff --git a/rules b/rules index 6efaa55..8758522 100755 --- 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