aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-08 09:49:31 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-08 09:49:31 +0000
commit5688824694e6fa1ee0e524b2b3281c66a46b9ecd (patch)
tree6014bef8f446c8755684c881fa061690fd9646f3 /Makefile
parent82769b9f31be3130f19e8cebd314d2fae5e31587 (diff)
Remove warnings in batch compile about functions possibly undefined at
runtime. Most of these are spurious (come from autoloads; byte comp seems to give these higher priority than declarations in same file).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c463e1ad..bf879028 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ BIN_SCRIPTS = bin/proofgeneral lego/legotags coq/coqtags isar/isartags
# only during compilation. Another idea: put a function in proof-site
# to output the compile-time load path and ELISP_DIRS so these are set
# just in that one place.
-BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -f batch-byte-compile
+BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -eval '(progn (require (quote bytecomp)) (setq byte-compile-warnings (remove (quote noruntime) byte-compile-warning-types)))' -f batch-byte-compile
EL=$(shell for f in $(ELISP_DIRS); do ls $$f/*.el; done)
ELC=$(EL:.el=.elc)