aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-version.el.tmpl
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <tomi.ollila@iki.fi>2014-03-19 22:37:10 +0200
committerGravatar David Bremner <david@tethera.net>2014-04-10 23:25:36 -0300
commitcab1415a94f09c529ca7323904c5a159c996cbe0 (patch)
tree4ea2848a8dc8e87ded01ef4d63eb37576790be90 /emacs/notmuch-version.el.tmpl
parentfeb3ce957213350db6c3e954cf4016aced1f65ce (diff)
emacs: add notmuch-version.el.tmpl and create notmuch-version.el from it
The notmuch cli program and emacs lisp versions may differ (especially in remote usage). It helps to resolve problems if we can determine the versions of notmuch cli and notmuch emacs mua separately. The build process now creates notmuch-version.el from template file by filling the version info to notmuch-emacs-version variable.
Diffstat (limited to 'emacs/notmuch-version.el.tmpl')
-rw-r--r--emacs/notmuch-version.el.tmpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/emacs/notmuch-version.el.tmpl b/emacs/notmuch-version.el.tmpl
new file mode 100644
index 00000000..236aaf7d
--- /dev/null
+++ b/emacs/notmuch-version.el.tmpl
@@ -0,0 +1,23 @@
+;; -*- emacs-lisp -*-
+;;
+;; %AG%
+;;
+;; This file is part of Notmuch.
+;;
+;; Notmuch is free software: you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+;;
+;; Notmuch is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with Notmuch. If not, see <http://www.gnu.org/licenses/>.
+
+(defconst notmuch-emacs-version %VERSION%
+ "Version of Notmuch Emacs MUA.")
+
+(provide 'notmuch-version)