debian: Don't try compiling emacs bytecode for emacs < 21

It just doesn't work.
This commit is contained in:
Carl Worth 2010-04-06 16:44:33 -07:00
parent ba8ee48dcb
commit ffd274e135

View file

@ -10,6 +10,12 @@ PACKAGE=notmuch
if [ ${FLAVOR} = emacs ]; then exit 0; fi 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} echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
#FLAVORTEST=`echo $FLAVOR | cut -c-6` #FLAVORTEST=`echo $FLAVOR | cut -c-6`