Add Documentation to the autotools pipeline

This commit is contained in:
2022-03-14 15:33:10 +01:00
parent 69611ec0d8
commit 4d8be00774
9 changed files with 77 additions and 53 deletions

View File

@@ -1,5 +1,14 @@
EMACS = emacs -q --batch --load config.el
EMACS = emacs -q --batch --load $(top_srcdir)/config.el
EMACS_HTML = $(EMACS) --load $(top_srcdir)/etc/emacs/html.el
define tangle
$(EMACS) $(1) --eval '(org-babel-tangle)'
endef
SUFFIXES = .html .org .rst
.org.html:
$(EMACS_HTML) $< -f org-html-export-to-html
.org.rst:
$(EMACS_HTML) $< -f org-rst-export-to-rst