aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2002-08-29 01:38:05 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2002-08-29 01:38:05 +0000
commit86879f6c6a5cccb5877e34314e36b91e2a584ee4 (patch)
treeaf1ccf0f1ff735675b01317ca6ba9c1c46ddb019 /Makefile
parent04fc861e6603f166abcff8c9c180cc24cab3d70d (diff)
Simplify byte comp, notes of brokenness.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index aed482e0..0f1e8f30 100644
--- a/Makefile
+++ b/Makefile
@@ -29,12 +29,15 @@ PERL_SCRIPTS = lego/legotags coq/coqtags
# 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 (list "$(PWD)/generic" "$(PWD)/lego" "$(PWD)/coq" "$(PWD)/isa" "$(PWD)/isar" "$(PWD)/plastic") 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))' -f batch-byte-compile
EL=$(shell for f in $(ELISP_DIRS); do ls $$f/*.el; done)
ELC=$(EL:.el=.elc)
-BROKENELC=proof-toolbar.elc proof-menu.elc proof-indent.elc proof-x-symbol.elc
+# These files may work now, but BC is not yet guaranteed in 3.4.
+# [currently broken for prover instances]
+# proof-toolbar.elc proof-menu.elc proof-indent.elc proof-x-symbol.elc
+BROKENELC=proof-menu.elc # easy-menu-define expanded too early.
+# NB: calls to proof-defshortcut also broken, evaluates define-key.
.SUFFIXES: .el .elc
@@ -51,7 +54,8 @@ compile:
@echo "*************************************************"
@echo " Byte compiling..."
@echo "*************************************************"
- (rm -f $(ELC); $(BYTECOMP) $(EL))
+ rm -f $(ELC)
+ $(BYTECOMP) $(EL)
rm -f $(BROKENELC)
@echo "*************************************************"
@echo " Finished."