Add documentation file generation code to Makefile
* Makefile (info, dvi, html, pdf, eat.info, eat.dvi, eat.html) (eat.pdf): New targets. * Makefile (all): New dependency "info." * Makefile (.PHONY): Add "info", "dvi", "html" and "pdf."
This commit is contained in:
parent
ed4d4ea6de
commit
ae4322fb45
1 changed files with 27 additions and 2 deletions
29
Makefile
29
Makefile
|
@ -19,8 +19,21 @@
|
||||||
|
|
||||||
EMACS ?= emacs
|
EMACS ?= emacs
|
||||||
TIC ?= tic
|
TIC ?= tic
|
||||||
|
TEXI2INFO ?= texi2any
|
||||||
|
TEXI2DVI ?= texi2dvi
|
||||||
|
TEXI2HTML ?= texi2any --no-split --html
|
||||||
|
TEXI2PDF ?= texi2pdf
|
||||||
|
TEXI2PS ?= texi2any --ps
|
||||||
|
|
||||||
all: eat.elc terminfo check changelog
|
all: eat.elc terminfo info check changelog
|
||||||
|
|
||||||
|
info: eat.info
|
||||||
|
|
||||||
|
dvi: eat.dvi
|
||||||
|
|
||||||
|
html: eat.html
|
||||||
|
|
||||||
|
pdf: eat.pdf
|
||||||
|
|
||||||
terminfo: e/eat-mono e/eat-color eat-256color e/eat-truecolor
|
terminfo: e/eat-mono e/eat-color eat-256color e/eat-truecolor
|
||||||
|
|
||||||
|
@ -31,10 +44,22 @@ check: eat.el
|
||||||
changelog:
|
changelog:
|
||||||
./make-changelog
|
./make-changelog
|
||||||
|
|
||||||
.PHONY: all terminfo check changelog
|
.PHONY: all terminfo info dvi html pdf check changelog
|
||||||
|
|
||||||
eat.elc: eat.el
|
eat.elc: eat.el
|
||||||
$(EMACS) -batch --eval '(byte-compile-file "eat.el")'
|
$(EMACS) -batch --eval '(byte-compile-file "eat.el")'
|
||||||
|
|
||||||
e/eat-mono e/eat-color eat-256color e/eat-truecolor: eat.ti
|
e/eat-mono e/eat-color eat-256color e/eat-truecolor: eat.ti
|
||||||
env TERMINFO=. $(TIC) -x eat.ti
|
env TERMINFO=. $(TIC) -x eat.ti
|
||||||
|
|
||||||
|
eat.info: eat.texi gpl.texi fdl.texi
|
||||||
|
$(TEXI2INFO) eat.texi
|
||||||
|
|
||||||
|
eat.dvi: eat.texi gpl.texi fdl.texi texinfo.tex
|
||||||
|
$(TEXI2DVI) eat.texi
|
||||||
|
|
||||||
|
eat.html: eat.texi gpl.texi fdl.texi
|
||||||
|
$(TEXI2HTML) eat.texi
|
||||||
|
|
||||||
|
eat.pdf: eat.texi gpl.texi fdl.texi texinfo.tex
|
||||||
|
$(TEXI2PDF) eat.texi
|
||||||
|
|
Loading…
Add table
Reference in a new issue