diff options
author | David Aspinall <da@inf.ed.ac.uk> | 1999-11-17 13:56:44 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 1999-11-17 13:56:44 +0000 |
commit | 6916d5fee6a48b6548e91e133724cfef07f6988b (patch) | |
tree | 8b7f6380ea72e971ac43b70b5239247a41092690 /Makefile | |
parent | aecffead9a0441b1dfb935bfb0f4afbd7f3d681d (diff) |
Add *.xemacs targets
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 $* |