diff options
author | Achim Gratz <Stromeko@Stromeko.DE> | 2012-01-04 22:53:02 +0100 |
---|---|---|
committer | Achim Gratz <Stromeko@Stromeko.DE> | 2012-04-20 21:04:12 +0200 |
commit | b9c72bebe424e05e678c267f0c801ea83a226c9d (patch) | |
tree | 5ffe12fe19cb035c71e332b0641ceb5d82d6d111 | |
parent | 4a7ed95010d20c0f62bf9c26b331e1e353444585 (diff) | |
download | org-mode-b9c72bebe424e05e678c267f0c801ea83a226c9d.tar.gz |
make sure org-release is defined in batch mode
default.mk: make sure org-release is defined when starting emacs
in batch mode. Add a suffix to see if this definition leaks into
the installed version someplace. When running from an installed
version, this definition is pulled in from org-install.el.
-rw-r--r-- | default.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -22,19 +22,21 @@ infodir = $(prefix)/info ##---------------------------------------------------------------------- # Using emacs in batch mode. -BATCH = $(EMACS) -batch -Q -L . +BATCH = $(EMACS) -batch -Q \ + -L . \ + --eval '(defconst org-release "$(ORGVERSION)-Make")' \ # run tests BTEST = $(EMACS) -batch \ $(BTEST_EXTRA) \ -L lisp/ \ + --eval '(defconst org-release "$(ORGVERSION)-Test")' \ -l testing/org-test.el \ -eval "(setq org-confirm-babel-evaluate nil)" \ -f org-test-run-batch-tests # How to byte-compile the whole source directory ELCDIR = $(BATCH) \ - --eval '(defconst org-release "$(ORGVERSION)")' \ --eval '(batch-byte-recompile-directory 0)' # How to byte-compile a single source file |