aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/Makefile.doc
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2011-04-26 15:06:47 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2011-04-26 15:06:47 +0000
commit7168d75dd3b8deed1c7401b9d4ff31fee426440b (patch)
tree2d05062e7100cef044511cfa1dc9aae43acb62df /doc/Makefile.doc
parentf7560857afbe25a03562c2aeb3005db9bf235ca7 (diff)
Update magic, tweak Makefile to make sure magic uses source .els
Diffstat (limited to 'doc/Makefile.doc')
-rw-r--r--doc/Makefile.doc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/Makefile.doc b/doc/Makefile.doc
index ff673b0c..937e0b97 100644
--- a/doc/Makefile.doc
+++ b/doc/Makefile.doc
@@ -150,11 +150,12 @@ distclean: clean
##
## texi: update magic comments in texi from docstrings in code.
## (developer use only!)
+## Must be run from source .els otherwise function arguments lost
##
-## remove this for now: no magic during dist ../*/*.el
$(DOCNAME).texi:
$(MAKE) magic
magic:
+ (cd ..; make clean)
$(EMACS) $(EMACSFLAGS) -batch -l ./docstring-magic.el $(DOCNAME).texi -f texi-docstring-magic -f save-buffer
debugmagic: