diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -3,19 +3,17 @@ ## ## Author: David Aspinall <da@dcs.ed.ac.uk> ## -## Maintainer: Proof General maintainer <proofgen@dcs.ed.ac.uk> -## -## ## make compile - make .elc's in a single session ## make all - make .elc's in separate sessions ## -## ## $Id$ ## ########################################################################### ELISP_DIRS = generic lego coq isa isar plastic demoisa +# FIXME: automate the emacs choice to be xemacs if it can be +# found, otherwise emacs. EMACS = xemacs PWD=$(shell pwd) @@ -26,7 +24,7 @@ PWD=$(shell pwd) # output the compile-time load path and # ELISP_DIRS so these are set just in that one # place. -BYTECOMP = $(EMACS) -batch -q -no-site-file -eval '(setq load-path (append (list "$(PWD)/generic" "$(PWD)/lego" "$(PWD)/coq" "$(PWD)/isa" "$(PWD)/isar") load-path))' -f batch-byte-compile +BYTECOMP = $(EMACS) -batch -q -no-site-file -eval '(setq load-path (append (list "$(PWD)/generic" "$(PWD)/lego" "$(PWD)/coq" "$(PWD)/isa" "$(PWD)/isar" "$(PWD)/plastic") load-path))' -f batch-byte-compile EL=$(shell for f in $(ELISP_DIRS); do ls $$f/*.el; done) ELC=$(EL:.el=.elc) @@ -71,6 +69,12 @@ clean: devel.%: make -f Makefile.devel $* +## +## Similarly for xemacs Makefile. +## + +xemacs.%: + make -f Makefile.xemacs $* |