emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/eat ae4322fb45 06/12: Add documentation file generation co


From: ELPA Syncer
Subject: [nongnu] elpa/eat ae4322fb45 06/12: Add documentation file generation code to Makefile
Date: Sun, 27 Nov 2022 15:59:30 -0500 (EST)

branch: elpa/eat
commit ae4322fb45e7dcce7f0c6da9283f4f33cb241d81
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    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."
---
 Makefile | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 6b3fe0fd3a..b78d9c64d3 100644
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,21 @@
 
 EMACS ?= emacs
 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
 
@@ -31,10 +44,22 @@ check: eat.el
 changelog:
        ./make-changelog
 
-.PHONY: all terminfo check changelog
+.PHONY: all terminfo info dvi html pdf check changelog
 
 eat.elc: eat.el
        $(EMACS) -batch --eval '(byte-compile-file "eat.el")'
 
 e/eat-mono e/eat-color eat-256color e/eat-truecolor: 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]