dh_installtexfonts, next incarnation
Hi all!
Next incarnation of dh_installtexfonts:
Still all possibilities to install fonts are present, but:
. If multiple 10package.cfg would be created, bail out with an error.
. cmd line map arguments are merged into debian/package.maps (if present)
from the man page/source file:
-----------
Registering map files for TeX can be done in the following ways:
1) You can specify cfg files on the cmd line. These cfg files will be
installed into etc/texmf/updmap.d/ with the standard priority 10 (but
see below) and their original name (foo.cfg installs into 10foo.cfg).
2) You can specify map lines on the cmdline, where the map type and the
map files is connected with =. These map lines are stored in a cfg file
10package.cfg.
3) You create a file debian/package.maps or debian/maps. These files are
installed with default priority and the name of the package (i.e.
debian/package.maps is installed as 10package.cfg). The file debian/maps
will be installed into the first package dh_installtexfonts is told to
act on. By default this is the first binary package in debian/control, but
if you use -p, -i, or -a flags, it will be the first package specified
by those flags.
The command line maps (Variant 2) are merged into the debian/package.maps
file and the merged file is installed as 10package.cfg. If you specify
an additional package.cfg (Variant 1) on the cmd line, this will raise
an error since both files would be installed as 10package.cfg. You can
only specify package.cfg on the cmd line if no debian/package.maps nor any
cmd line Map files are present.
If the cfg files created do not contain the magic comment, an additional
header is added with explanation, warning and the magic comment.
Please see the TeX Policy for more information on this magic comment.
-----------
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
sip:preining@at43.tuwien.ac.at +43 (0) 59966-690018
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
AIRD OF SLEAT (n. archaic)
Ancient Scottish curse placed from afar on the stretch of land now
occupided by Heathrow Airport.
--- Douglas Adams, The Meaning of Liff
Reply to: