Currently the tips section in the readme is a bit unclear about the htmldoc generation, suggestion welcome for how to improve it. Especially looking at the Makefile I'm not able to understand precisely what the import-doc target does:
import-doc:
-git subtree add -P htmldoc release/$(R)
T=`git subtree split -P htmldoc release/$(R)`;\
git subtree merge -P htmldoc --squash $$T \
-m 'importing htmldoc from $(R)'
It would be also helpful to batch-generate org to html, so I suggest adding the following to the Makefile:
ORG_FILES=$(wildcard *.org)
HTML_FILES=$(ORG_FILES:.org=.html)
all:
org-html: $(HTML_FILES)
%.html: %.org
emacs --batch $< -e org-html-export-to-html
the all: target is meant to suppress defaulting to import-doc, as it sounds to me that this could have unintended consequences if one runs it by mistake.
Currently the tips section in the readme is a bit unclear about the htmldoc generation, suggestion welcome for how to improve it. Especially looking at the Makefile I'm not able to understand precisely what the
import-doctarget does:It would be also helpful to batch-generate org to html, so I suggest adding the following to the
Makefile:the
all:target is meant to suppress defaulting toimport-doc, as it sounds to me that this could have unintended consequences if one runs it by mistake.