summaryrefslogtreecommitdiff
path: root/Build/source/texk/make/texi.mk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
committerKarl Berry <karl@freefriends.org>2006-01-17 21:41:51 +0000
commit487ca4806cc046076293cf6cc5fbba0db282bac7 (patch)
tree847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/make/texi.mk
parenta3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff)
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/make/texi.mk')
-rw-r--r--Build/source/texk/make/texi.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/texk/make/texi.mk b/Build/source/texk/make/texi.mk
new file mode 100644
index 00000000000..b18fb2d5fb5
--- /dev/null
+++ b/Build/source/texk/make/texi.mk
@@ -0,0 +1,25 @@
+# texi.mk -- making .dvi and .info from .texi.
+@MAINT@MAKEINFO = makeinfo
+@MAINT@MAKEINFO_FLAGS = --paragraph-indent=2 -I$(srcdir)
+
+@MAINT@TEXI2DVI = texi2dvi
+@MAINT@# To make sure that generation of the dvi files succeeds on the
+@MAINT@# maintainer's system.
+@MAINT@TEXI2DVI = TEXMFCNF=$(web2cdir) texi2dvi
+
+@MAINT@TEXI2HTML = texi2html
+@MAINT@TEXI2HTML_FLAGS = -expandinfo -number -menu -split_chapter
+# If you prefer one big .html file instead of several, remove
+# -split-node or replace it by -split_chapter.
+
+# For making normal text files out of Texinfo source.
+@MAINT@one_info = --no-headers --no-split --no-validate
+
+@MAINT@.SUFFIXES: .info .dvi .html .texi
+@MAINT@.texi.info:
+@MAINT@ $(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@
+@MAINT@.texi.dvi:
+@MAINT@ $(TEXI2DVI) $(TEXI2DVI_FLAGS) $<
+@MAINT@.texi.html:
+@MAINT@ $(TEXI2HTML) $(TEXI2HTML_FLAGS) $<
+# End of texi.mk.