summaryrefslogtreecommitdiff
path: root/dh_perl
diff options
context:
space:
mode:
authorjoey <joey>2001-06-03 22:25:07 +0000
committerjoey <joey>2001-06-03 22:25:07 +0000
commitf0c3197c8a4d3c3e2f3e6c403ffe52555c871181 (patch)
tree2e3b9ea444b2bf018be07e64dfc40a4908e79fc8 /dh_perl
parent6eae7e888fb1fa5cf594cc116ea5daee9ee9512a (diff)
r475: * dh_gencontrol: Added a documented interface for specifying substvars
data in a file. Substvars data may be put in debian/package.substvars. (Those files used to be used by debhelper for automatically generated data, but it uses a different internal filename now). It will be merged with any automatically determined substvars data. See bug #98819 * I want to stress that no one should ever rely in internal, undocumented debhelper workings. Just because debhelper uses a certian name for some internally used file does not mean that you should feel free to modify that file to your own ends in a debian package. If you do use it, don't be at all suprised when it breaks. If you find that debhelper is lacking a documented interface for something that you need, ask for it! (debhelper's undocumented, internal use only files should now all be prefixed with ".debhelper")
Diffstat (limited to 'dh_perl')
-rwxr-xr-xdh_perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_perl b/dh_perl
index ac6fa06..ea2025e 100755
--- a/dh_perl
+++ b/dh_perl
@@ -89,7 +89,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $ext = pkgext($package);
my @subs;
- if (open IN, "debian/${ext}substvars")
+ if (open IN, "debian/${ext}substvars.debhelper")
{
@subs = grep !/^perl:Depends=/, <IN>;
close IN;
@@ -144,7 +144,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
unless $perl_depends eq 'perl-base';
}
- open OUT, ">debian/${ext}substvars";
+ open OUT, ">debian/${ext}substvars.debhelper";
print OUT @subs;
close OUT;
}