summaryrefslogtreecommitdiff
path: root/Build/source/doc/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/doc/Makefile.in')
-rw-r--r--Build/source/doc/Makefile.in28
1 files changed, 18 insertions, 10 deletions
diff --git a/Build/source/doc/Makefile.in b/Build/source/doc/Makefile.in
index 5ebf66f3804..ea694a763db 100644
--- a/Build/source/doc/Makefile.in
+++ b/Build/source/doc/Makefile.in
@@ -485,15 +485,17 @@ pod2texi_args = \
# The \@... in the replacements are escaping the @ in a Perl
# double-quote context, i.e., not an array.
#
-update_node_bad = ref{tlmgr update [option]... [pkg]...,
-update_node_bad2 = ref{tlmgr update,
-update_node_good = ref{tlmgr update [\@emph{option}]... [\@emph{pkg}]...,
+update_node_bad = ref{tlmgr update [option...] [pkg...],
+update_node_good = ref{tlmgr update [\@emph{option}...] [\@emph{pkg}...],
#
-restore_node_bad = ref{tlmgr restore,
-restore_node_good = ref{tlmgr restore [--backupdir \@emph{dir}] [--all | \@emph{pkg} [\@emph{rev}]],
+update_node_bad2 = [option...] [pkg...], update
+update_node_good2 = [\@emph{option}...] [@emph{pkg}...], update
#
-install_node_bad = ref{tlmgr install [option]... pkg...,
-install_node_good = ref{tlmgr install [\@emph{option}]... \@emph{pkg}...,
+remove_node_bad = ref{tlmgr remove [option...] pkg...,
+remove_node_good = ref{tlmgr remove [\@emph{option}...] \@emph{pkg}...,
+#
+install_node_bad = ref{tlmgr install [option...] pkg...,
+install_node_good = ref{tlmgr install [\@emph{option}...] \@emph{pkg}...,
all: all-am
.SUFFIXES:
@@ -947,18 +949,24 @@ readme-install: readme-files
.PHONY: readme-files readme-install
# we don't actually use the (autogenerated) -incl.texi file,
-# but it makes for a convenient target. Copy the scripts into the build dir.
+# but it makes for a convenient target.
+#
+# First make symlinks in build dir:
+# ln -s .../tlmgr.pl .../Build/source/Work/doc
+# ln -s .../install-tl .../Build/source/Work/doc
$(mydoc)-incl.texi: install-tl tlmgr.pl
$(pod2texi) -o $@ --subdir=$(mydoc)-incl $(pod2texi_args) $^
cp $(mydoc)-incl/tlmgr.texi $(mydoc)-incl/tlmgr.texi.orig
perl -pi \
-e 's/\Q$(update_node_bad)\E/$(update_node_good)/' \
- -e ';s/\Q$(update_node_bad2)\E/$(update_node_good),/' \
+ -e ';s/\Q$(update_node_bad2)\E/$(update_node_good2),/' \
-e ';' \
- -e 's/\Q$(restore_node_bad)\E/$(restore_node_good)/' \
+ -e 's/\Q$(remove_node_bad)\E/$(remove_node_good)/' \
-e ';' \
-e 's/\Q$(install_node_bad)\E/$(install_node_good)/' \
$(mydoc)-incl/tlmgr.texi
+ cp $(mydoc)-incl/tlmgr.texi $(srcdir)/$(mydoc)-incl/
+ cp $(mydoc)-incl/install-tl.texi $(srcdir)/$(mydoc)-incl/
.PHONY: $(mydoc)-incl.texi
# Tell versions [3.59,3.63) of GNU make to not export all variables.