]> git.llucax.com Git - software/mutt-debian.git/blobdiff - debian/rules
Register mutt as message/rfc822 application in /etc/mailcap.
[software/mutt-debian.git] / debian / rules
index 05b512f85cb137473ec20533be9019129e92e2b1..868b2ab7e4749995c40aa053f68f0dd815038a1c 100755 (executable)
@@ -108,6 +108,8 @@ $(objdir)/build-stamp: $(objdir)-patched/build-stamp
 
 install: build
        ###################### install ######################
 
 install: build
        ###################### install ######################
+       dh_testdir
+       dh_testroot
        dh_clean -k
        cd $(objdir) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
        
        dh_clean -k
        cd $(objdir) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
        
@@ -131,20 +133,22 @@ install: build
        
        # temporarily call the binary mutt-patched so dh_strip gets the debug file name right
        install -D $(objdir)-patched/mutt debian/mutt-patched/usr/bin/mutt-patched
        
        # temporarily call the binary mutt-patched so dh_strip gets the debug file name right
        install -D $(objdir)-patched/mutt debian/mutt-patched/usr/bin/mutt-patched
+       
+       # reportbug driver
+       dh_installdirs
+       install -m644 debian/bug/control $(CURDIR)/debian/mutt/usr/share/bug/mutt
+       install       debian/bug/script  $(CURDIR)/debian/mutt/usr/share/bug/mutt
 
 binary binary-arch: install
        ###################### binary ######################
 
 binary binary-arch: install
        ###################### binary ######################
-       dh_testdir
-       dh_testroot
-       
-       dh_installdirs
        dh_install
        dh_installman
        dh_installmenu
        dh_install
        dh_installman
        dh_installmenu
+       dh_installmime
        dh_installdocs
        dh_installexamples
        dh_installchangelogs ChangeLog
        dh_installdocs
        dh_installexamples
        dh_installchangelogs ChangeLog
-       install -m644 debian/mutt.lintian $(CURDIR)/debian/mutt/usr/share/lintian/overrides/mutt
+       -dh_lintian
        
        dh_strip --dbg-package=mutt-dbg
        rm -rf $(CURDIR)/debian/mutt-dbg/usr/share/doc/mutt-dbg \
        
        dh_strip --dbg-package=mutt-dbg
        rm -rf $(CURDIR)/debian/mutt-dbg/usr/share/doc/mutt-dbg \