aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Makefile.doc
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-05-06 17:52:35 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-05-06 17:52:35 +0000
commit3af5698cf0991fe4738d62ac8378ade0cf3ec051 (patch)
treeb73fcdc67e341f589d37ce47255f4c70ec09a99b /doc/Makefile.doc
parente8e9bc4f9584d320256b447db008535e7a9c1843 (diff)
Add EMACSFLAGS so can run with EMACS=emacs
(NB! Emacs has different regexp behaviour in @lisp, though!!)
Diffstat (limited to 'doc/Makefile.doc')
-rw-r--r--doc/Makefile.doc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/Makefile.doc b/doc/Makefile.doc
index 7b7dd233..97478ef6 100644
--- a/doc/Makefile.doc
+++ b/doc/Makefile.doc
@@ -38,7 +38,8 @@ DVI2PS = dvips -Pcmz
TEXI2PDF = texi2pdf
TEXI2HTML = texi2html -expandinfo -number -split_chapter
# FIXME: choose emacs automatically if xemacs not available
-EMACS = xemacs -q -no-site-file -batch
+EMACS = xemacs
+EMACSFLAGS = -q -no-site-file -batch
TMPFILE=pgt
@@ -155,7 +156,7 @@ distclean: clean
$(DOCNAME).texi: ../*/*.el
$(MAKE) magic
magic:
- $(EMACS) -l docstring-magic.el $(DOCNAME).texi -f texi-docstring-magic -f save-buffer
+ $(EMACS) $(EMACSFLAGS) -l docstring-magic.el $(DOCNAME).texi -f texi-docstring-magic -f save-buffer