Add Documentation to the autotools pipeline
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user