X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_installcatalogs;h=6bd42273c65234c178fbfa56467bbd7623db3527;hb=b6da226d6eb94409547d04baeb76de3a2a27111d;hp=16bab813915114f763a4f69661382baf952a70aa;hpb=2da6ed90ff536121b387c93385e1cf652f7bd3aa;p=debhelper.git diff --git a/dh_installcatalogs b/dh_installcatalogs index 16bab81..6bd4227 100755 --- a/dh_installcatalogs +++ b/dh_installcatalogs @@ -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 [S>] [B<-n>] +B [S>] [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. Catalogs will be registered in a supercatalog, in F.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 will be added to +B<-n> is used). A dependency on B will be added to C<${misc:Depends}>, so be sure your package uses that variable in -F. See L for an explantion of +F. See L 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 +L F