Skip to content

Commit

Permalink
Add org-guide.org to the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Goaziou committed Mar 19, 2019
1 parent 82b1d36 commit afd566e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif

all: $(ORG_MAKE_DOC)

info: org
info: org orgguide

html: org.html

Expand All @@ -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")' \
Expand All @@ -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

Expand Down
3 changes: 2 additions & 1 deletion doc/dir
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion mk/org-fixup.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit afd566e

Please sign in to comment.