aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-04-06 16:44:33 -0700
committerCarl Worth <cworth@cworth.org>2010-04-06 18:30:43 -0700
commitffd274e13584f37faed56582fec9a23e726972af (patch)
tree55a56de04dcb6c4773d36c8b402f31c0fdfa0309
parentba8ee48dcb7dc972996a258401425855cafe4f71 (diff)
debian: Don't try compiling emacs bytecode for emacs < 21
It just doesn't work.
-rwxr-xr-xdebian/notmuch.emacsen-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/notmuch.emacsen-install b/debian/notmuch.emacsen-install
index 4982691..98ec128 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`