From: Carl Worth Date: Tue, 6 Apr 2010 23:44:33 +0000 (-0700) Subject: debian: Don't try compiling emacs bytecode for emacs < 21 X-Git-Tag: debian-0.1-1~7 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=ffd274e13584f37faed56582fec9a23e726972af debian: Don't try compiling emacs bytecode for emacs < 21 It just doesn't work. --- diff --git a/debian/notmuch.emacsen-install b/debian/notmuch.emacsen-install index 4982691e..98ec1282 100755 --- a/debian/notmuch.emacsen-install +++ b/debian/notmuch.emacsen-install @@ -10,6 +10,12 @@ PACKAGE=notmuch if [ ${FLAVOR} = emacs ]; then exit 0; fi +# We know that the notmuch emacs code doesn't work with emacs before emacs23 +if [ ${FLAVOR} = emacs21 ]; then exit 0; fi +if [ ${FLAVOR} = emacs22 ]; then exit 0; fi +if [ ${FLAVOR} = xemacs21 ]; then exit 0; fi +if [ ${FLAVOR} = xemacs22 ]; then exit 0; fi + echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} #FLAVORTEST=`echo $FLAVOR | cut -c-6`