X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14bd6d8fa991ecda5603a2cb755acc53e2919559..92469c2db947a16e6290589c4b71809ee46eabc8:/debian/rules diff --git a/debian/rules b/debian/rules index e140215..b7c71cd 100755 --- a/debian/rules +++ b/debian/rules @@ -23,7 +23,9 @@ confflags = --prefix=/usr \ --enable-debug \ --enable-fcntl \ --enable-hcache \ + --enable-gpgme \ --enable-imap \ + --enable-smtp \ --enable-inodesort \ --enable-pop \ \ @@ -93,7 +95,7 @@ $(objdir)/configure-stamp: env LC_COLLATE=C sort PATCHES.unsorted >PATCHES # do not rebuild these files - touch configure.in aclocal.m4 Makefile.in configure stamp-h.in config.h.in + touch configure.in aclocal.m4 Makefile.in configure config.h.in -mkdir $(objdir) cd $(objdir) && \ @@ -109,7 +111,7 @@ $(objdir)/configure-stamp: build: $(objdir)/build-stamp $(objdir)/build-stamp: $(objdir)/configure-stamp cd $(objdir) && \ - $(MAKE) + $(MAKE) CFLAGS="$(CFLAGS)" touch $@ @@ -125,6 +127,7 @@ clean: # quilt cruft rm -f patches rm -rf .pc + touch PATCHES # please dpkg-source rm -f po/*.gmo @@ -154,13 +157,11 @@ debian/tmp/install-stamp: chmod +x debian/header.awk debian/header.awk debian/patches/features/* >debian/tmp/README.Patches - cp $(objdir)/Muttrc.head debian/tmp/Muttrc - echo "# GnuPG configuration" >>debian/tmp/Muttrc - grep '^set' contrib/gpg.rc \ - | sed -e 's#pgpewrap#/usr/lib/mutt/pgpewrap#' \ - | sed -e 's#/usr/bin/gpg#gpg#' \ - >> debian/tmp/Muttrc - cat debian/extra/rc/* >>debian/tmp/Muttrc + ( cat $(objdir)/Muttrc.head; \ + echo "# GnuPG configuration"; \ + grep '^set' contrib/gpg.rc; \ + echo; \ + cat debian/extra/rc/* ) > debian/tmp/Muttrc touch $@ @@ -172,9 +173,9 @@ binary-arch: build install dh_testdir dh_testroot + dh_installdirs dh_install dh_installman - dh_installmime dh_installmenu dh_installdocs dh_installexamples