[Pkg-mono-svn-commits] rev 2423 - cli-common/trunk
Mirco Bauer
meebey-guest at costa.debian.org
Tue Apr 11 20:26:53 UTC 2006
Author: meebey-guest
Date: 2006-04-11 20:26:51 +0000 (Tue, 11 Apr 2006)
New Revision: 2423
Modified:
cli-common/trunk/dh_clideps
cli-common/trunk/dh_installcligac
Log:
- adding cli-common dep automagic now when needed in dh_clideps
Modified: cli-common/trunk/dh_clideps
===================================================================
--- cli-common/trunk/dh_clideps 2006-04-11 16:22:11 UTC (rev 2422)
+++ cli-common/trunk/dh_clideps 2006-04-11 20:26:51 UTC (rev 2423)
@@ -218,9 +218,10 @@
}
}
}
+
# now filter the dupes coming from shlibs
if (defined($dh{D_FLAG})) {
- if (open($fh, "< debian/$package.substvars" )) {
+ if (open($fh, "< $pwd/debian/$package.substvars" )) {
while (<$fh>) {
if (/^shlibs:Depends=(.*)\n?/) {
for (split(/\s*,\s*/, $1)) {
@@ -229,7 +230,7 @@
}
}
} else {
- verbose_print("Could not read debian/$package.substvars");
+ verbose_print("Could not read $pwd/debian/$package.substvars");
}
}
@@ -248,6 +249,13 @@
}
}
+ if (-f "$tmp/usr/share/cli-common/packages.d/$package.installcligac") {
+ if ($deps ne '') {
+ $deps .= ", ";
+ }
+ $deps .= "cli-common (>= 0.4.0)");
+ }
+
$deps .= join(", ", "",
sort {
# beautify the sort order, requested by meebey
Modified: cli-common/trunk/dh_installcligac
===================================================================
--- cli-common/trunk/dh_installcligac 2006-04-11 16:22:11 UTC (rev 2422)
+++ cli-common/trunk/dh_installcligac 2006-04-11 20:26:51 UTC (rev 2423)
@@ -45,14 +45,10 @@
init();
-if (! defined $dh{PRIORITY}) {
- $dh{PRIORITY}=50;
-}
-
foreach my $package (@{$dh{DOPACKAGES}}) {
- my $tmp=tmpdir($package);
+ my $tmp = tmpdir($package);
- my $cligac=pkgfile($package,"installcligac");
+ my $cligac = pkgfile($package, "installcligac");
if ($cligac ne '') {
if (! -d "$tmp/usr/share/cli-common/packages.d") {
@@ -73,7 +69,7 @@
L<debhelper(7)>
-This program is a part of debhelper.
+This program is a part of cli-common-dev.
=head1 AUTHOR
More information about the Pkg-mono-svn-commits
mailing list