Re: [PATCH v2] fix out of tree build

2016-11-19 Thread David Bremner
Tomi Ollila writes: > With working tests. > --- > > This is v2 of id:1479066903-28310-1-git-send-email-tomi.oll...@iki.fi > > with this ${srcdir} being absolute path will also work (relevant in tests!) > > ... and commit message is fixed: I accuse qt for "shadow build" ;) > >

[PATCH 1/2] build: Move variable definitions to Makefile.global

2016-11-19 Thread David Bremner
I noticed when trying to use VERSION (and derived variables) in a subdirectory that the top level Makefile.local needed to be included first. But according to c10085c77b407d9ea704f8b4f9e0a805f63e72cb it actually needs to be last. To break this conflict, move the variables definitions into a new

[PATCH 2/2] build/emacs: add target to create elpa package

2016-11-19 Thread David Bremner
This package can be created without emacs, but will only be usable in versions of emacs supporting package.el --- Makefile.global | 2 ++ emacs/Makefile.local | 10 ++ 2 files changed, 12 insertions(+) diff --git a/Makefile.global b/Makefile.global index 444e6bb..d8f335a 100644 ---

provide elpa packages

2016-11-19 Thread David Bremner
This is an answer to the discussion we were having on irc the other day about easily installing the emacs front-end for a single user. For users of package.el supporting emacs (iirc, emacs 24.1+), you can 1) make elpa 2) From within emacs M-x package-install-file