diff options
| author | David Bremner <david@tethera.net> | 2016-11-11 07:46:50 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-11-16 21:45:56 -0400 |
| commit | 297d27e9f9f0341e40bfd9442dde5fdd1ad969ff (patch) | |
| tree | dd30f09f0b5e8aa57f6b313df9b839475d346bbc /Makefile.local | |
| parent | a3e712fa86a1f6df02a8be9f620f33ed9189069d (diff) | |
emacs: generate notmuch-pkg.el
This file contains metadata for the built in (as of emacs 24) packaging
system.
Diffstat (limited to 'Makefile.local')
| -rw-r--r-- | Makefile.local | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local index d1b0585f..0a122ab0 100644 --- a/Makefile.local +++ b/Makefile.local @@ -19,9 +19,12 @@ DATE:=$(shell date +%F) endif VERSION:=$(shell cat ${srcdir}/version) +ELPA_VERSION:=$(subst ~,_,$(VERSION)) ifeq ($(filter release release-message pre-release update-versions,$(MAKECMDGOALS)),) ifeq ($(IS_GIT),yes) VERSION:=$(shell git --git-dir=${srcdir}/.git describe --abbrev=7 --match '[0-9.]*'|sed -e s/_/~/ -e s/-/+/ -e s/-/~/) +# drop the ~g$sha1 part +ELPA_VERSION:=$(word 1,$(subst ~, ,$(VERSION))) # Write the file 'version.stamp' in case its contents differ from $(VERSION) FILE_VERSION:=$(shell test -f version.stamp && read vs < version.stamp || vs=; echo $$vs) ifneq ($(FILE_VERSION),$(VERSION)) |
