=head1 NAME
-dh_installcatalog - install and register SGML Catalogs
+dh_installcatalogs - install and register SGML Catalogs
=cut
=head1 SYNOPSIS
-B<dh_installcatalog> [S<I<debhelper options>>] [B<-n>]
+B<dh_installcatalogs> [S<I<debhelper options>>] [B<-n>]
=head1 DESCRIPTION
-dh_registersgmlcatalog is a debhelper program that installs and
+dh_installcatalogs is a debhelper program that installs and
registers SGML catalogs. (Note: it will be extended for XML catalog
registration when xml-core is available.) It complies with the Debian
XML/SGML policy.
Catalogs will be registered in a supercatalog, in
F</etc/sgml/I<package>.cat>.
-This script automatically adds maintainer script snippets for
+This command automatically adds maintainer script snippets for
registering and unregistering the catalogs and "supercatalogs" (unless
B<-n> is used). A dependancy on B<sgml-base> will be added to
C<${misc:Depends}>, so be sure your package uses that variable in
$fulldest =~ s|//|/|g; # beautification
if (! -d dirname($fulldest)) {
- doit("install","-d","-m755",dirname($dest));
+ doit("install","-d","-m755",$tmpdir."/".dirname($dest));
}
doit("install","-p","-m644",$source,$fulldest);