summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile33
1 files changed, 16 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile b/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
index 8ccecf34c77..04277eb0274 100644
--- a/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
+++ b/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile 333 2015-05-12 17:12:37Z karl $
+# $Id: Makefile 462 2015-10-24 20:37:02Z jhefferon $
# Public domain. Originally written 2006, Karl Berry.
# Makefile for latexrefman.
@@ -6,6 +6,9 @@ en_tex_output = latex2e.dvi latex2e.pdf
es_tex_output = latex2e-es.dvi latex2e-es.pdf
fr_tex_output = latex2e-fr.dvi latex2e-fr.pdf
#
+xref_suffixes := ky cp vr fn cp pg tp
+xref_suffixes := $(xref_suffixes) $(addsuffix s,$(xref_suffixes))
+xref_suffixes := aux log toc $(xref_suffixes)
mi_suffixes = dbk html info txt xml
en_mi_output = $(addprefix latex2e., $(mi_suffixes))
es_mi_output = $(addprefix latex2e-es., $(mi_suffixes))
@@ -21,10 +24,13 @@ texi2pdf = texi2pdf --batch --tidy --build-dir=$*.t2pdf
#
makeinfo = makeinfo
texi2docbook = $(makeinfo) --docbook
-texi2html = $(makeinfo) --html --no-split
+texi2html = $(makeinfo) --html --no-split $(texi2html_top)
texi2info = $(makeinfo) --no-split
texi2txt = $(makeinfo) --plaintext --no-split
texi2xml = $(makeinfo) --xml
+#
+# Go somewhere useful from Top.
+texi2html_top = -c TOP_NODE_UP_URL=http://tug.org/texinfohtml/
%.pdf: %.texi
$(texi2pdf) $<
@@ -69,28 +75,21 @@ distclean clean mostlyclean:
rm -rf latex2e*.t2*
realclean maintainer-clean: distclean
- rm -f $(addprefix latex2e*., pdf dvi $(mi_suffixes))
+ rm -f $(addprefix latex2e*., pdf dvi $(mi_suffixes) $(xref_suffixes))
-# dist.
-#
-# We combine languages into one zip for upload. Will change if the
-# translations ever become separately uploaded.
-# Don't bother including .dvi files.
+# dist for CTAN. Also update NEWS
#
txt_files = ChangeLog Makefile NEWS README aspell.en.pws ltx-help.el
-dist = latex2e-help-texinfo.zip
+distzip = latex2e-help-texinfo.zip
#
-dist: all
- rm -f spanish; ln -s . spanish
+dist: en
mkdir latex2e-help-texinfo && cd latex2e-help-texinfo && ln -s ../* .
- zip -q $(dist) \
+ zip -q $(distzip) \
$(addprefix latex2e-help-texinfo/, $(txt_files) \
- latex2e.texi $(en_mi_output) latex2e.pdf) \
-$(addprefix latex2e-help-texinfo/spanish/, \
- latex2e-es.texi $(es_mi_output) latex2e-es.pdf)
- rm -rf latex2e-help-texinfo spanish
- @ls -l $(dist); unzip -t $(dist)
+ latex2e.texi $(en_mi_output) latex2e.pdf)
+ rm -rf latex2e-help-texinfo
+ @ls -l $(distzip); unzip -t $(distzip)
# A hacky spell check target.
# Remove \commandnames to reduce exception list, but not {args} or