aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1998-11-25 12:29:39 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1998-11-25 12:29:39 +0000
commitcf5ae448a22d2ef8e2b45752d4a79c2a186c322c (patch)
tree6024a6a26ceb5fc08d43203ec23f7dbe4d15bf37 /doc
parent9b3b88d221eab160c8071e3ad12b2a80a5dbe547 (diff)
Magic docstring -> texi conversion.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile12
-rw-r--r--doc/docstring-magic.el13
2 files changed, 22 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 9a2f0cbb..736d0761 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -21,7 +21,8 @@ MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
DVI2PS = dvips
TEXI2PDF = texi2pdf
-TEXI2HTML = texi2html
+TEXI2HTML = texi2html
+EMACS = xemacs -batch
.SUFFIXES: .texi .info .dvi .html .pdf .ps
@@ -41,8 +42,6 @@ TEXI2HTML = texi2html
.texi.html:
$(TEXI2HTML) $<
-
-
##
## doc : build info and dvi files from $(DOCNAME).texi
##
@@ -76,6 +75,13 @@ clean:
distclean: clean
rm -f $(DOCNAME).info* $(DOCNAME).dvi $(DOCNAME).pdf $(DOCNAME)*.html
+##
+## magic: update magic comments in NewDoc.texi from docstrings in code.
+## (developer use only!)
+##
+magic:
+ $(EMACS) -l docstring-magic.el NewDoc.texi -f daves-docstring-magic -f save-buffer
+
diff --git a/doc/docstring-magic.el b/doc/docstring-magic.el
new file mode 100644
index 00000000..b36643ce
--- /dev/null
+++ b/doc/docstring-magic.el
@@ -0,0 +1,13 @@
+;; Ensure that non-compiled versions of everything is loaded
+(setq load-path
+ (append
+ '("../generic/" "../isa/" "../lego/" "../coq/") load-path))
+(load "proof-site.el")
+(load "proof-config.el")
+(load "proof.el")
+(load "isa.el")
+(load "thy-mode.el")
+(load "coq.el")
+(load "lego.el")
+
+(load "texi-docstring-magic.el") \ No newline at end of file