org: include the man pages in the generated userdoc
* doc/Makefile.am (org-man): New target. * tools/man2html.pl: Adjust to distinguish source and destination directories. Use relative links in genated files. * NEWS: Mention the html man pages.
This commit is contained in:
parent
f7b65001e9
commit
3897c8dc9a
3 changed files with 17 additions and 6 deletions
|
|
@ -49,12 +49,17 @@ $(srcdir)/spot.html $(srcdir)/spot.tag: $(srcdir)/stamp
|
|||
# Spot documentation.
|
||||
dist_pkgdata_DATA = $(srcdir)/spot.tag
|
||||
|
||||
.PHONY: org
|
||||
.PHONY: org org-man
|
||||
org:
|
||||
cd $(top_builddir) && $(MAKE) doc/org/init.el
|
||||
rm -rf $(srcdir)/userdoc
|
||||
$(MAKE) org-man
|
||||
$(EMACS) --batch -Q -l org/init.el
|
||||
|
||||
org-man:
|
||||
mkdir -p $(srcdir)/userdoc/man
|
||||
$(top_srcdir)/tools/man2html.pl $(top_srcdir)/src/bin/man $(srcdir)/userdoc/man
|
||||
|
||||
ORG_FILES = \
|
||||
org/.dir-locals.el.in \
|
||||
org/g++wrap.in \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue