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/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile b/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
index 3dd2c4baaa0..a872dd54621 100644
--- a/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
+++ b/Master/texmf-dist/doc/latex/latex2e-help-texinfo/Makefile
@@ -19,8 +19,6 @@ texi2xml = $(makeinfo) --xml
$(texi2docbook) -o $@ $<
%.html: %.texi
$(texi2html) $<
-# kludge in fix for missing g_t prefix in toc entries in makeinfo 4.13.
- perl -pi -e 's/href="#_/href="#g_t_/' $@ || rm $@
%.info: %.texi
$(texi2info) $<
%.txt: %.texi
@@ -28,8 +26,16 @@ texi2xml = $(makeinfo) --xml
%.xml: %.texi
$(texi2xml) $<
-tex_output = latex2e.dvi latex2e.pdf
-makeinfo_output = latex2e.info latex2e.html latex2e.txt latex2e.xml latex2e.dbk
+en_tex_output = latex2e.dvi latex2e.pdf
+es_tex_output = latex2e-es.dvi latex2e-es.pdf
+tex_output = $(en_tex_output) $(es_tex_output)
+#
+en_makeinfo_output = latex2e.info latex2e.html latex2e.txt \
+ latex2e.xml latex2e.dbk
+es_makeinfo_output = latex2e-es.info latex2e-es.html latex2e-es.txt \
+ latex2e-es.xml latex2e-es.dbk
+makeinfo_output = $(en_makeinfo_output) $(es_makeinfo_output)
+
all: makeinfo_output tex_output
makeinfo_output: $(makeinfo_output)
tex_output: $(tex_output)
@@ -41,8 +47,10 @@ realclean distclean: clean
rm -f $(all)
dist: all
+ rm -f spanish; ln -s . spanish
tar cvzf latex2e-help-texinfo.tgz \
- ChangeLog Makefile NEWS README \
- latex2e.texi ltx-help.el \
- $(tex_output) $(makeinfo_output)
+ ChangeLog Makefile NEWS README ltx-help.el \
+ latex2e.texi $(en_makeinfo_output) latex2e.pdf \
+ $(addprefix spanish/, latex2e-es.texi $(es_makeinfo_output) latex2e-es.pdf)
+ rm -f spanish
@ls -l latex2e-help-texinfo.tgz