summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-04-09 18:49:49 +0000
committerKarl Berry <karl@freefriends.org>2008-04-09 18:49:49 +0000
commitfca907b74a1b4bba0630f1f91bf1cda6f9c1aa83 (patch)
tree72a91f4cf1dde50c6a4ecd521782c90859b50a40
parent271876384ae94c62b4c0c80d258beaf00555ef19 (diff)
mkjobtexmf 0.6 (7apr08)
git-svn-id: svn://tug.org/texlive/trunk@7367 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/mkjobtexmf/README4
-rw-r--r--Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html5
-rw-r--r--Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx6
-rw-r--r--Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man6
-rw-r--r--Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdfbin107050 -> 107450 bytes
-rw-r--r--Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt4
-rw-r--r--Master/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl11
-rw-r--r--Master/texmf-dist/source/generic/mkjobtexmf/Makefile.in2
-rw-r--r--Master/texmf-dist/source/generic/mkjobtexmf/configure18
-rw-r--r--Master/texmf-dist/source/generic/mkjobtexmf/configure.ac4
-rw-r--r--Master/texmf/doc/man/man1/mkjobtexmf.1411
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds8
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check5
-rw-r--r--Master/tlpkg/tlpsrc/mkjobtexmf.tlpsrc2
14 files changed, 461 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/generic/mkjobtexmf/README b/Master/texmf-dist/doc/generic/mkjobtexmf/README
index 022057eff50..623aa4f796d 100644
--- a/Master/texmf-dist/doc/generic/mkjobtexmf/README
+++ b/Master/texmf-dist/doc/generic/mkjobtexmf/README
@@ -1,6 +1,6 @@
-README for mkjobtexmf 2007/09/06 v0.5
+README for mkjobtexmf 2008/04/05 v0.6
-Copyright 2007 by Heiko Oberdiek
+Copyright 2007, 2008 by Heiko Oberdiek
License
=======
diff --git a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html
index 18ba07e8b89..eada8d975a3 100644
--- a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html
+++ b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.html
@@ -378,6 +378,11 @@ modify it under the same terms as Perl itself
* Support for `configure' added.
(Thanks to Norbert Preining for writing a first version of
the configure stuff.)
+<p></p>
+<li><strong><a name="item__2f04_2f05_v0_2e6">/04/05 v0.6</a></strong><br />
+</li>
+* Tiny fix in target `uninstall' in file `Makefile.in'.
+ (Thanks to Karl Berry)
<p></p></ol>
</body>
diff --git a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx
index ce4e37a6d0b..fa2e3d167d1 100644
--- a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx
+++ b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.ltx
@@ -1,6 +1,6 @@
% mkjobtexmf.ltx
%
-% Copyright 2007 by Heiko Oberdiek.
+% Copyright 2007, 2008 by Heiko Oberdiek.
%
% The file is part of project mkjobtexmf.
% It's free software; you may redistribute it and/or
@@ -9,8 +9,8 @@
\documentclass[a4paper]{article}
-\providecommand*{\DATE}{2007/09/06}
-\providecommand*{\VERSION}{0.5}
+\providecommand*{\DATE}{2008/04/05}
+\providecommand*{\VERSION}{0.6}
\usepackage{makeidx}
\makeindex
diff --git a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man
index 58086652c0e..a069c25f5aa 100644
--- a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man
+++ b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.man
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "MKJOBTEXMF 1"
-.TH MKJOBTEXMF 1 "2007-09-06" "perl v5.8.1" "User Contributed Perl Documentation"
+.TH MKJOBTEXMF 1 "2008-04-05" "perl v5.8.1" "User Contributed Perl Documentation"
.SH "NAME"
mkjobtexmf \-\- Generate a texmf tree for a particular job
.SH "SYNOPSIS"
@@ -405,3 +405,7 @@ modify it under the same terms as Perl itself
* Support for `configure' added.
(Thanks to Norbert Preining for writing a first version of
the configure stuff.)
+.IP "2008/04/05 v0.6" 4
+.IX Item "2008/04/05 v0.6"
+* Tiny fix in target `uninstall' in file `Makefile.in'.
+ (Thanks to Karl Berry)
diff --git a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdf b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdf
index 1046d41e34e..62802ebb805 100644
--- a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdf
+++ b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt
index d8f2934da26..07f4bf2618a 100644
--- a/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt
+++ b/Master/texmf-dist/doc/generic/mkjobtexmf/mkjobtexmf.txt
@@ -253,3 +253,7 @@ HISTORY
* Support for `configure' added. (Thanks to Norbert Preining for
writing a first version of the configure stuff.)
+ 2008/04/05 v0.6
+ * Tiny fix in target `uninstall' in file `Makefile.in'. (Thanks to
+ Karl Berry)
+
diff --git a/Master/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl b/Master/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
index 27f94a5a375..cfbd60e4625 100644
--- a/Master/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
+++ b/Master/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
@@ -10,10 +10,10 @@ use strict;
$^W=1;
my $prj = 'mkjobtexmf';
-my $version = '0.5';
-my $date = '2007/09/06';
+my $version = '0.6';
+my $date = '2008/04/05';
my $author = 'Heiko Oberdiek';
-my $copyright = "Copyright 2007 $author";
+my $copyright = "Copyright 2007, 2008 $author";
my $cmd_tex = 'pdflatex';
my $cmd_kpsewhich = 'kpsewhich';
@@ -794,6 +794,11 @@ modify it under the same terms as Perl itself
(Thanks to Norbert Preining for writing a first version of
the configure stuff.)
+=item 2008/04/05 v0.6
+
+* Tiny fix in target `uninstall' in file `Makefile.in'.
+ (Thanks to Karl Berry)
+
=back
=cut
diff --git a/Master/texmf-dist/source/generic/mkjobtexmf/Makefile.in b/Master/texmf-dist/source/generic/mkjobtexmf/Makefile.in
index a31a9dcb443..b3a37f37ad8 100644
--- a/Master/texmf-dist/source/generic/mkjobtexmf/Makefile.in
+++ b/Master/texmf-dist/source/generic/mkjobtexmf/Makefile.in
@@ -76,7 +76,7 @@ check: $(SRC_FILE)
podchecker $<
uninstall:
- -rm -f $(bindir)/$(PRJ) $(mandir)/man1/$(PRJ).1
+ -rm -f $(bindir)/$(PRJ) $(man1dir)/$(PRJ).1
clean:
-rm -f $(PRJ).aux $(PRJ).log $(PRJ).toc
diff --git a/Master/texmf-dist/source/generic/mkjobtexmf/configure b/Master/texmf-dist/source/generic/mkjobtexmf/configure
index 2352c874bfe..8e2f8ec1309 100644
--- a/Master/texmf-dist/source/generic/mkjobtexmf/configure
+++ b/Master/texmf-dist/source/generic/mkjobtexmf/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for mkjobtexmf 0.5.
+# Generated by GNU Autoconf 2.57 for mkjobtexmf 0.6.
#
# Report bugs to <oberdiek@uni-freiburg.de>.
#
@@ -268,8 +268,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='mkjobtexmf'
PACKAGE_TARNAME='mkjobtexmf'
-PACKAGE_VERSION='0.5'
-PACKAGE_STRING='mkjobtexmf 0.5'
+PACKAGE_VERSION='0.6'
+PACKAGE_STRING='mkjobtexmf 0.6'
PACKAGE_BUGREPORT='oberdiek@uni-freiburg.de'
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
@@ -721,7 +721,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures mkjobtexmf 0.5 to adapt to many kinds of systems.
+\`configure' configures mkjobtexmf 0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -778,7 +778,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mkjobtexmf 0.5:";;
+ short | recursive ) echo "Configuration of mkjobtexmf 0.6:";;
esac
cat <<\_ACEOF
@@ -845,7 +845,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-mkjobtexmf configure 0.5
+mkjobtexmf configure 0.6
generated by GNU Autoconf 2.57
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -860,7 +860,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mkjobtexmf $as_me 0.5, which was
+It was created by mkjobtexmf $as_me 0.6, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ $0 $@
@@ -1694,7 +1694,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
-This file was extended by mkjobtexmf $as_me 0.5, which was
+This file was extended by mkjobtexmf $as_me 0.6, which was
generated by GNU Autoconf 2.57. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -1749,7 +1749,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-mkjobtexmf config.status 0.5
+mkjobtexmf config.status 0.6
configured by $0, generated by GNU Autoconf 2.57,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/Master/texmf-dist/source/generic/mkjobtexmf/configure.ac b/Master/texmf-dist/source/generic/mkjobtexmf/configure.ac
index 26c5292df04..8e934a601f0 100644
--- a/Master/texmf-dist/source/generic/mkjobtexmf/configure.ac
+++ b/Master/texmf-dist/source/generic/mkjobtexmf/configure.ac
@@ -1,13 +1,13 @@
dnl configure.ac
dnl
-dnl Copyright 2007 by Heiko Oberdiek.
+dnl Copyright 2007, 2008 by Heiko Oberdiek.
dnl
dnl The file is part of project mkjobtexmf.
dnl It's free software; you may redistribute it and/or
dnl modify it under the same terms as Perl itself
dnl (Perl Artistic License/GNU General Public License, version 2).
dnl
-AC_INIT(mkjobtexmf, 0.5, oberdiek@uni-freiburg.de)
+AC_INIT(mkjobtexmf, 0.6, oberdiek@uni-freiburg.de)
AC_CONFIG_FILES(Makefile)
diff --git a/Master/texmf/doc/man/man1/mkjobtexmf.1 b/Master/texmf/doc/man/man1/mkjobtexmf.1
new file mode 100644
index 00000000000..a069c25f5aa
--- /dev/null
+++ b/Master/texmf/doc/man/man1/mkjobtexmf.1
@@ -0,0 +1,411 @@
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.13
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings. \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote. | will give a
+.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
+.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
+.\" expand to `' in nroff, nothing in troff, for use with C<>.
+.tr \(*W-|\(bv\*(Tr
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+. ds -- \(*W-
+. ds PI pi
+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
+. ds L" ""
+. ds R" ""
+. ds C` ""
+. ds C' ""
+'br\}
+.el\{\
+. ds -- \|\(em\|
+. ds PI \(*p
+. ds L" ``
+. ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD. Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
+..
+. nr % 0
+. rr F
+.\}
+.\"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear. Run. Save yourself. No user-serviceable parts.
+. \" fudge factors for nroff and troff
+.if n \{\
+. ds #H 0
+. ds #V .8m
+. ds #F .3m
+. ds #[ \f1
+. ds #] \fP
+.\}
+.if t \{\
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+. ds #V .6m
+. ds #F 0
+. ds #[ \&
+. ds #] \&
+.\}
+. \" simple accents for nroff and troff
+.if n \{\
+. ds ' \&
+. ds ` \&
+. ds ^ \&
+. ds , \&
+. ds ~ ~
+. ds /
+.\}
+.if t \{\
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+. \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+. \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+. \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+. ds : e
+. ds 8 ss
+. ds o a
+. ds d- d\h'-1'\(ga
+. ds D- D\h'-1'\(hy
+. ds th \o'bp'
+. ds Th \o'LP'
+. ds ae ae
+. ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "MKJOBTEXMF 1"
+.TH MKJOBTEXMF 1 "2008-04-05" "perl v5.8.1" "User Contributed Perl Documentation"
+.SH "NAME"
+mkjobtexmf \-\- Generate a texmf tree for a particular job
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+The progam \fBmkjobtexmf\fR runs a program and tries to
+find the used file names. Two methods are available,
+option \f(CW\*(C`\-recorder\*(C'\fR of TeX (Web2C) or the program \fBstrace\fR.
+.PP
+Then it generates a directory with a texmf tree. It checks
+the found files and tries sort them in this texmf tree.
+.PP
+It can be used for archiving purposes or to speed up
+following TeX runs.
+.PP
+.Vb 1
+\& mkjobtexmf [options]
+.Ve
+.PP
+This runs TeX that can be configured by options.
+Both methods for getting the used file names are available.
+.PP
+.Vb 1
+\& mkjobtexmf [options] -- <cmd> [args]
+.Ve
+.PP
+The latter form runs program \fIcmd\fR with arguments \fIargs\fR
+instead of TeX. As method only program \fBstrace\fR is available.
+.PP
+Options:
+.PP
+.Vb 22
+\& --jobname <name> Name of the job (mandatory).
+\& Usually this is the TeX file
+\& without extension
+\& --texname <file> Input file for TeX. Default is the
+\& job name with extension '.tex'
+\& --texopt <option> Option for TeX run
+\& --destdir <directory> Destination directory,
+\& default is `<jobname>.mjt'
+\& --output Add also output files
+\& --strace Use strace instead of TeX's
+\& option -recorder
+\& --copy Copy files instead of creating
+\& symbol links
+\& --flat Junk paths, do not make directories
+\& inside the destination directory
+\& --cmd-tex <cmd> Command for the TeX compiler
+\& --cmd-kpsewhich <cmd> Command for kpsewhich
+\& --cmd-texhash <cmd> Command for texhash
+\& --cmd-strace <cmd> Command for strace
+\& --verbose Verbose output
+\& --help Brief help message
+\& --man Full documentation
+.Ve
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+.Sh "Running the program"
+.IX Subsection "Running the program"
+First \fBmkjobtexmf\fR runs a program, usually TeX. The TeX compiler
+is configured by option \fB\-\-cmd\-tex\fR. Option \fB\-\-texname\fR can
+be used, if the file name extension differs from \fI.tex\fR:
+.PP
+.Vb 1
+\& mkjobtexmf --jobname foo --texname foo.ltx
+.Ve
+.PP
+Even more complicate cases are possible:
+.PP
+.Vb 1
+\& mkjobtexmf --jobname foo --texname '\edef\eabc{...}\einput{foo}'
+.Ve
+.PP
+If another program than TeX should be used (dvips, ...),
+then this program can be given after \f(CW\*(C`\-\-\*(C'\fR:
+.PP
+.Vb 1
+\& mkjobtexmf --jobname foo -- dvips foo
+.Ve
+.Sh "File recording"
+.IX Subsection "File recording"
+Two methods are available to get the used file names:
+.IP "Recorder of TeX" 4
+.IX Item "Recorder of TeX"
+Some TeX distributions (e.g. Web2C) support the option \fB\-recorder\fR
+for its TeX compilers. Then the TeX compiler generates a file with
+extension \fI.fls\fR that records the used input and output files.
+.IP "Program strace" 4
+.IX Item "Program strace"
+This program traces system calls and signals. It is used here
+to log the used files.
+.Sh "Analyze and link/copy found files"
+.IX Subsection "Analyze and link/copy found files"
+The result directory \fI\fIjobname\fI.mjt\fR is generated. Inside the
+result \s-1TEXMF\s0 tree is created. Each found file is compared against
+a list of paths of \s-1TEXMF\s0 trees. If a match is found, the file is
+linked/copied into the \s-1TEXMF\s0 tree. The list of paths is generated by
+program \fBkpsewhich\fR.
+.PP
+If the file cannot be mapped to a \s-1TEXMF\s0 tree and the file is
+a relative file name, then it is directly linked/copied into the
+result directory \fI\fIjobname\fI.mjt\fR. Absolute file names
+are not supported and neither paths with links to parent directories.
+.PP
+Symbolic links are created by default. The files are copied
+if option \-\-copy is given or symbolic linking is not available.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-\-jobname\fR=\fIjobname\fR" 4
+.IX Item "--jobname=jobname"
+It is the name of the job. `<jobname>.tex' serves as default for
+the TeX file and <jobname> is used for naming various directories
+and files. See section \*(L"\s-1FILES\s0\*(R".
+.IP "\fB\-\-texname\fR=\fIname\fR" 4
+.IX Item "--texname=name"
+The name of the TeX input file, if it differs from <jobname>.tex.
+.IP "\fB\-\-texopt\fR=\fIopt\fR" 4
+.IX Item "--texopt=opt"
+Additional option for the TeX compiler, examples are \-\-ini or
+\&\-\-shell\-escape. This option can be given more than once.
+.IP "\fB\-\-destdir\fR=\fIdirectory\fR" 4
+.IX Item "--destdir=directory"
+Specifies the name of the destination directory where the result
+is collected. As default a directory is generated in the current
+directory with the job name and extension `.mjt'.
+.IP "\fB\-\-output\fR" 4
+.IX Item "--output"
+Also add output files.
+.IP "\fB\-\-strace\fR" 4
+.IX Item "--strace"
+Use method with program \fBstrace\fR, see \*(L"\s-1DESCRIPTION\s0\*(R".
+.IP "\fB\-\-copy\fR" 4
+.IX Item "--copy"
+Files are copied instead of creating symbolic links.
+.IP "\fB\-\-flat\fR" 4
+.IX Item "--flat"
+Files are linked or copied without path elements.
+The destination directory will contain a flat list of
+files or links without directory.
+.Sp
+The files `ls\-R' and `aliases' are ignored.
+.IP "\fB\-\-cmd\-tex\fR=\fIcmd\fR" 4
+.IX Item "--cmd-tex=cmd"
+Command for the TeX compiler. Default is pdflatex.
+.IP "\fB\-\-cmd\-kpsewhich\fR=\fIcmd\fR" 4
+.IX Item "--cmd-kpsewhich=cmd"
+Command for kpsewhich.
+.IP "\fB\-\-cmd\-texhash\fR=\fIcmd\fR" 4
+.IX Item "--cmd-texhash=cmd"
+Command for updating the file name database of the generated
+texmf tree. Default is texmf.
+.IP "\fB\-\-cmd\-strace\fR=\fIcmd\fR" 4
+.IX Item "--cmd-strace=cmd"
+Command for strace.
+.IP "\fB\-\-verbose\fR" 4
+.IX Item "--verbose"
+Verbose messages.
+.IP "\fB\-\-help\fR" 4
+.IX Item "--help"
+Display help screen.
+.SH "EXAMPLES"
+.IX Header "EXAMPLES"
+TeX file \fItest.tex\fR using TeX's recorder method:
+.PP
+.Vb 1
+\& mkjobtexmf --jobname test
+.Ve
+.PP
+TeX file \fItest.tex\fR using LaTeX:
+.PP
+.Vb 1
+\& mkjobtexmf --jobname test --cmd-tex latex
+.Ve
+.PP
+Format generation:
+.PP
+.Vb 1
+\& mkjobtexmf --jobname test --texopt -ini --texname pdflatex.ini
+.Ve
+.PP
+Example, how the new texmf tree (Linux/bash) can be used:
+.PP
+.Vb 1
+\& TEXMF=!!test.mjt/texmf pdflatex test
+.Ve
+.PP
+Example for generating a zip archive (Linux/bash):
+.PP
+.Vb 1
+\& (cd test.mjt && zip -9r ../test .)
+.Ve
+.PP
+Example for generating a tar archive:
+.PP
+.Vb 1
+\& tar cjhvf test.tar.bz2 -C test.mjt .
+.Ve
+.SH "UNSOLVED ISSUES, CAVEATS, TODOS"
+.IX Header "UNSOLVED ISSUES, CAVEATS, TODOS"
+.IP "Experimental software" 4
+.IX Item "Experimental software"
+Options, defaults, how the program works might change in
+future versions.
+.IP "\fItexmf.cnf\fR" 4
+.IX Item "texmf.cnf"
+Currently the method with \fBstrace\fR records this files.
+TeX's recorder does not. Useful are \fItexmf.cnf\fR files for
+variable settings. Because we have just one \s-1TEXMF\s0 tree,
+the path sections should probably rewritten.
+.IP "Settings in environment variables" 4
+.IX Item "Settings in environment variables"
+They are not stored at all.
+.IP "Collisions" 4
+.IX Item "Collisions"
+The program uses one destination directory and at most
+one \s-1TEXMF\s0 tree for the result. However, the source files
+can come from different directories and \s-1TEXMF\s0 trees.
+Therefore name collisions are possible.
+.Sp
+The program follows the strategy not to delete files
+in the destination directory. That allows to collect files
+from differnt runs. Thus collisions are resolved
+in the manner that the first entry that is made in
+the destination directory wins.
+.IP "Configuration file" 4
+.IX Item "Configuration file"
+It would save the user from retyping the same options again and again.
+.IP "Uncomplete recording" 4
+.IX Item "Uncomplete recording"
+Bugs in TeX's file recording might result in incomplete
+file recording (e.g. pdfTeX 1.40.3 does not record .pfb and
+\&.pk files).
+.IP "..." 4
+.SH "FILES"
+.IX Header "FILES"
+.PD 0
+.IP "\fI<jobname>.mjt/\fR" 4
+.IX Item "<jobname>.mjt/"
+.PD
+Directory where the resulting texmf tree and symbol links
+are stored. It can be changed by option \-\-destdir.
+.IP "\fI<jobname>.fls\fR" 4
+.IX Item "<jobname>.fls"
+Name of TeX's recorder file.
+.IP "\fI<jobname>.strace\fR" 4
+.IX Item "<jobname>.strace"
+Log file where the result of \fBstrace\fR is stored.
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+Heiko Oberdiek, email: oberdiek at uni\-freiburg.de
+.SH "COPYRIGHT AND LICENSE"
+.IX Header "COPYRIGHT AND LICENSE"
+Copyright 2007 by Heiko Oberdiek.
+.PP
+This library is free software; you may redistribute it and/or
+modify it under the same terms as Perl itself
+(Perl Artistic License/GNU General Public License, version 2).
+.SH "HISTORY"
+.IX Header "HISTORY"
+.IP "2007/04/16 v0.1" 4
+.IX Item "2007/04/16 v0.1"
+* First experimental version.
+.IP "2007/05/09 v0.2" 4
+.IX Item "2007/05/09 v0.2"
+* Typo in option name fixed.
+.IP "2007/09/03 v0.3" 4
+.IX Item "2007/09/03 v0.3"
+* New options: \-\-copy, \-\-flat, \-\-destdir
+.IP "2007/09/04 v0.4" 4
+.IX Item "2007/09/04 v0.4"
+* Bug fix in map_files_texmf.
+.IP "2007/09/06 v0.5" 4
+.IX Item "2007/09/06 v0.5"
+* Support for `configure' added.
+ (Thanks to Norbert Preining for writing a first version of
+ the configure stuff.)
+.IP "2008/04/05 v0.6" 4
+.IX Item "2008/04/05 v0.6"
+* Tiny fix in target `uninstall' in file `Makefile.in'.
+ (Thanks to Karl Berry)
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 951786b2fa3..1d433839bd6 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -1256,6 +1256,7 @@ $standardocp='\.ocp';
);
$standardxmt='\.xmt';
+# packages which have executable scripts
%specialscripts = (
'a2ping' => '\.pl$',
'epstopdf' => 'epstopdf',
@@ -1266,6 +1267,13 @@ $standardxmt='\.xmt';
'vpe' => '\.pl$',
);
+# too painful to install in multiple trees just now.
+## packages which have man pages to install. Assume section 1 for now.
+#%specialmans = (
+# 'mkjobtexmf' => 'mkjobtexmf.man',
+#);
+
+
# which suffixes to remove after building. Checked after runins and at
# the end, in the doc directory.
$standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index a0b4a736395..5dfbf46fd8c 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -220,7 +220,7 @@ sub main
$OPT{"verbose"} = 1;
- if ($ARGV[0] eq "--list-not-treated-tlp") {
+ if ($ARGV[0] eq "--list-not-treated") {
@AllTLP = $tlpdb->list_packages;
my @nottreatedtlp=();
foreach my $b (@AllTLP) {
@@ -234,12 +234,11 @@ sub main
exit 0;
}
# xx read FILES.last7days, determine CTAN changes, map to TL packages
- # xx alternatively, check all tpm's
+ # xx alternatively, check all tlp's, etc. ...
if ($ARGV[0] eq "--check") {
$OPT{"verbose"} = 0;
# xx but for now, just check the few packages we have worked with.
- # xx don't check babel, heiko patched it.
@ARGV = @WorkingTLP;
}
diff --git a/Master/tlpkg/tlpsrc/mkjobtexmf.tlpsrc b/Master/tlpkg/tlpsrc/mkjobtexmf.tlpsrc
index 279fbe409d2..80213857944 100644
--- a/Master/tlpkg/tlpsrc/mkjobtexmf.tlpsrc
+++ b/Master/tlpkg/tlpsrc/mkjobtexmf.tlpsrc
@@ -1,5 +1,5 @@
name mkjobtexmf
category Package
-runpattern f texmf/doc/man/man1/mkjobtexmf.1
+docpattern f texmf/doc/man/man1/mkjobtexmf.1
runpattern d texmf-dist/scripts/mkjobtexmf
binpattern f bin/${ARCH}/mkjobtexmf