From add24ceeca66be270dbfe3e7c6884d6a6f1aa1c9 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 22 Feb 2004 20:00:54 +0000 Subject: r1667: * dh_installdocs: ignore .EX files as produced by dh-make. * dh_movefiles: if the file cannot be found, do not go ahead and try to move it anyway, as this can produce unpredictable behavor with globs passed in from the shell. See bug #234105 --- dh_installdocs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dh_installdocs') diff --git a/dh_installdocs b/dh_installdocs index f7291860..ab7e53ca 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -184,6 +184,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $regexp="(|$regexp)"; } foreach my $fn (grep {/^${regexp}doc-base(\..*)?$/} readdir(DEB)) { + # .EX are example files, generated by eg, dh-make + next if $fn=~/\.EX$/; # Parse the file to get the doc id. open (IN, "debian/$fn") || die "Cannot read debian/$fn."; while () { -- cgit v1.2.3