forked from mirrors/org-mode
"make doc" generate "org.texi"
* doc/Makefile (org.texi): New rule. * mk/org-fixup.el (org-make-manuals): New function.
This commit is contained in:
parent
d4a8e3de84
commit
c87d70439b
|
@ -27,6 +27,12 @@ guide:: orgguide.texi org-version.inc
|
||||||
../mk/guidesplit.pl $@/*
|
../mk/guidesplit.pl $@/*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
org.texi:
|
||||||
|
$(BATCH) \
|
||||||
|
--eval '(add-to-list '"'"'load-path "../lisp")' \
|
||||||
|
--eval '(load "../mk/org-fixup.el")' \
|
||||||
|
--eval '(org-make-manuals)'
|
||||||
|
|
||||||
org-version.inc: org.texi
|
org-version.inc: org.texi
|
||||||
@echo "org-version: $(ORGVERSION) ($(GITVERSION))"
|
@echo "org-version: $(ORGVERSION) ($(GITVERSION))"
|
||||||
@echo "@c automatically generated, do not edit" > org-version.inc
|
@echo "@c automatically generated, do not edit" > org-version.inc
|
||||||
|
|
|
@ -27,6 +27,13 @@
|
||||||
(require 'autoload)
|
(require 'autoload)
|
||||||
(require 'org-compat "org-compat.el")
|
(require 'org-compat "org-compat.el")
|
||||||
|
|
||||||
|
(defun org-make-manuals ()
|
||||||
|
"Generate the Texinfo files out of Org manuals."
|
||||||
|
(require 'ox-texinfo)
|
||||||
|
(dolist (manual '("../doc/org-manual.org"))
|
||||||
|
(find-file manual)
|
||||||
|
(org-texinfo-export-to-texinfo)))
|
||||||
|
|
||||||
(defun org-make-org-version (org-release org-git-version odt-dir)
|
(defun org-make-org-version (org-release org-git-version odt-dir)
|
||||||
"Make the file org-version.el in the current directory.
|
"Make the file org-version.el in the current directory.
|
||||||
This function is internally used by the build system and should
|
This function is internally used by the build system and should
|
||||||
|
|
Loading…
Reference in a new issue