[subversion-commit] SVN tetex commit + diffs: r390 -
tex-common/branches/for-0.13/scripts
Norbert Preining
preining-guest at costa.debian.org
Fri Dec 9 10:39:06 UTC 2005
Author: preining-guest
Date: 2005-12-09 10:39:04 +0000 (Fri, 09 Dec 2005)
New Revision: 390
Modified:
tex-common/branches/for-0.13/scripts/dh_installtexfonts
Log:
changes to wording, add verbose_print for config files
Modified: tex-common/branches/for-0.13/scripts/dh_installtexfonts
===================================================================
--- tex-common/branches/for-0.13/scripts/dh_installtexfonts 2005-12-09 10:27:55 UTC (rev 389)
+++ tex-common/branches/for-0.13/scripts/dh_installtexfonts 2005-12-09 10:39:04 UTC (rev 390)
@@ -100,16 +100,22 @@
=item B<--flavor=>I<flavor>
This option will be used to switch additional options on. At the moment
-you can select for I<flavor> either B<withconfig> or B<withallconfig>.
-In the first case for each activate map I<foo.map> in this call of
-L<dh_installtexfonts> (i.e. either I<foo.map> is occuring on the command
-line (way 2), or is active in one of the cfg files (way 1 and 3)) a file
-I<config.foo> is generated in /usr/share/texmf/dvips/config/.
+you can select for I<flavor> either B<config_for_active_maps> or
+B<config_for_all_maps>.
+B<config_for_active_maps> will create a file I<config.bar> for each active
+(i.e. uncommented) map in each of the cfg file generated by one of the
+three methods described above. These files are installed in
+/usr/share/texmf/dvips/config/.
-If you select B<withallconfig> then the script tries to generate config
-files also for those map files which are present in cfg files, but
-are deactivated by a comment.
+If you select B<config_for_all_maps> the script will generate I<config.bar>
+even for those map files which are present in a cfg file, but deactivated by a comment.
+The file I<config.bar> is used when called by `dvips -Pbar ...'. Thus it
+allows the activation of single map files even if they are not automatically
+activated via the updmap(-sys) mechanism.
+
+Default is I<not> to generate any config files.
+
=head1 NOTES
Note that this command is not idempotent. "dh_clean -k" should be called
@@ -169,9 +175,9 @@
$priority=$dh{PRIORITY};
}
if (defined($dh{FLAVOR})) {
- if ($dh{FLAVOR} eq "withconfig") {
+ if ($dh{FLAVOR} eq "config_for_active_maps") {
$doconfig = 1;
- } elsif ($dh{FLAVOR} eq "withallconfig") {
+ } elsif ($dh{FLAVOR} eq "config_for_all_maps") {
$doconfig = 2;
} else {
error("Specified flavor $dh{FLAVOR} not supported.\nPlease see man page for supported flavors!\n");
@@ -291,6 +297,7 @@
error("The dvips config file $tmp/usr/share/texmf/dvips/config/config.$f already exists!\nYou may have to call dh_clean -k!\n");
open(CNFFILE, ">$tmp/usr/share/texmf/dvips/config/config.$f") ||
error("Cannot open $tmp/usr/share/texmf/dvips/config/config.$f for writing!");
+ verbose_print("Writing $tmp/usr/share/texmf/dvips/config/config.$f");
print CNFFILE "Map +$m\n";
close(CNFFILE);
}
More information about the Pkg-tetex-commits
mailing list