emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
blob 7c45664a9df3976120dd5f25ff9785234c59a200 1404 bytes (raw)
name: Makefile 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 
TEXI2PDF+=--tidy
BEXP=$(BATCH) \
	--eval '(add-to-list '"'"'load-path "../lisp")' \
	--eval '(setq org-footnote-auto-adjust nil)'
EXTEXI=	-l ox-texinfo \
	--eval '(add-to-list '"'"'org-export-snippet-translation-alist '"'"'("info" . "texinfo"))'
EXHTML=	-l ox-html \
	$(BTEST_POST) \
	--eval '(add-to-list '"'"'org-export-snippet-translation-alist '"'"'("info" . "texinfo"))'
ORG2TEXI=-f org-texinfo-export-to-texinfo
ORG2HTML=-f org-html-export-to-html
ORG2INFO=--eval "(org-texinfo-compile \"./$<\")"

.SUFFIXES:	# we don't need default suffix rules
ifeq ($(MAKELEVEL), 0)
  $(error This make needs to be started as a sub-make from the toplevel directory.)
endif
.PHONY:		all info html pdf

all:		$(ORG_MAKE_DOC)

info:		orgmanual.info

html:		orgmanual orgmanual.html

pdf:		orgmanual.pdf

orgmanual.texi:	orgmanual.org
	$(BEXP) $(EXTEXI) $< $(ORG2TEXI)
orgmanual.info:	orgmanual.texi
	$(MAKEINFO)  --no-split $< -o $@
orgmanual.pdf:	LC_ALL=C        # work around a bug in texi2dvi
orgmanual.pdf:	LANG=C          # work around a bug in texi2dvi
orgmanual.pdf:	orgmanual.texi
	$(TEXI2PDF) $<
orgmanual:	orgmanual.texi
	$(TEXI2HTML) $<
orgmanual.html: orgmanual.org
	$(BEXP) $(EXHTML) $< $(ORG2HTML)

clean:
	$(RM) org *.pdf *.html \
	      *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.pg *.pgs \
	      *.toc *.tp *.tps *.vr *.vrs *.log *.html *.ps
cleanall:	clean
	$(RMR) orgmanual.t2d orgmanual




debug log:

solving 7c45664 ...
found 7c45664 in https://list.orgmode.org/orgmode/87txojo32h.fsf@Rainer.invalid/

applying [1/1] https://list.orgmode.org/orgmode/87txojo32h.fsf@Rainer.invalid/
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7c45664

Checking patch Makefile...
1:53: new blank line at EOF.
+
Applied patch Makefile cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 7c45664a9df3976120dd5f25ff9785234c59a200	Makefile

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).