]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installcatalogs
r1869: * dh_installman: correct mistake that broke translated man page installation
[debhelper.git] / dh_installcatalogs
index 16bab813915114f763a4f69661382baf952a70aa..6bd42273c65234c178fbfa56467bbd7623db3527 100755 (executable)
@@ -2,7 +2,7 @@
 
 =head1 NAME
 
-dh_installcatalog - install and register SGML Catalogs
+dh_installcatalogs - install and register SGML Catalogs
 
 =cut
 
@@ -13,11 +13,11 @@ my $sgmlbasever = "1.17";
 
 =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.
@@ -32,11 +32,11 @@ F</usr/share/sgml/>.
 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
+B<-n> is used).  A dependency on B<sgml-base> will be added to
 C<${misc:Depends}>, so be sure your package uses that variable in
-F<debian/control>.  See L<dh_installdeb(1)> for an explantion of
+F<debian/control>.  See L<dh_installdeb(1)> for an explanation of
 Debhelper maintainer script snippets.
 
 =head1 OPTIONS
@@ -74,7 +74,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        $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);
@@ -104,7 +104,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
 =head1 SEE ALSO
 
-L<debhelper(1)>
+L<debhelper(7)>
 
 F</usr/share/doc/sgml-base-doc/>