1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-27 07:37:25 +00:00

Add org-guide.org to the build process

This commit is contained in:
Nicolas Goaziou 2019-03-19 01:57:36 +01:00
parent 82b1d36585
commit afd566e633
3 changed files with 12 additions and 8 deletions

View File

@ -7,7 +7,7 @@ endif
all: $(ORG_MAKE_DOC)
info: org
info: org orgguide
html: org.html
@ -27,7 +27,7 @@ guide:: orgguide.texi org-version.inc
../mk/guidesplit.pl $@/*
endif
org.texi: org-manual.org
org.texi orgguide.texi: org-manual.org org-guide.org
$(BATCH) \
--eval '(add-to-list '"'"'load-path "../lisp")' \
--eval '(load "../mk/org-fixup.el")' \
@ -46,21 +46,24 @@ org-version.tex: orgcard.tex
@printf "\def\\\\versionyear{$(YEAR)}\n" >> org-version.tex
@printf "\def\year{$(YEAR)}\n" >> org-version.tex
install: org
install: org orgguide
if [ ! -d $(DESTDIR)$(infodir) ]; then $(MKDIR) $(DESTDIR)$(infodir); else true; fi ;
$(CP) org $(DESTDIR)$(infodir)
$(CP) orgguide $(DESTDIR)$(infodir)
$(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) org
$(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) orgguide
clean:
$(RM) org *.pdf *.html *_letter.tex org-version.inc org-version.tex \
*.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \
*.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps
$(RM) org orgguide *.pdf *.html *_letter.tex org-version.inc \
org-version.tex *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys \
*.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps
cleanall: clean
$(RMR) guide manual
clean-install:
$(RM) $(DESTDIR)$(infodir)/org*
$(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) --remove org
$(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) --remove orgguide
.SUFFIXES: .texi .tex .txt _letter.tex

View File

@ -15,4 +15,5 @@ File: dir, Node: Top This is the top of the INFO tree
* Menu:
Emacs
* Org Mode: (org). Outline-based notes management and organizer
* Org Mode: (org). Outline-based notes management and organizer.
* Org Guide: (orgguide). Abbreviated Org mode manual.

View File

@ -30,7 +30,7 @@
(defun org-make-manuals ()
"Generate the Texinfo files out of Org manuals."
(require 'ox-texinfo)
(dolist (manual '("../doc/org-manual.org"))
(dolist (manual '("../doc/org-manual.org" "../doc/org-guide.org"))
(find-file manual)
(org-texinfo-export-to-texinfo)))