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