aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Makefile.doc
diff options
context:
space:
mode:
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