]> git.donarmstrong.com Git - debhelper.git/commitdiff
r511: * dh_movefiles: Allow for deeper --sourcedir. Closes: #131363
authorjoey <joey>
Fri, 22 Feb 2002 21:52:46 +0000 (21:52 +0000)
committerjoey <joey>
Fri, 22 Feb 2002 21:52:46 +0000 (21:52 +0000)
debian/changelog
dh_installman
dh_movefiles

index 67991443dd17087d4e5a77040205d702f19e067f..964de4b4244ae512e10278b8ea57e09d39a376b2 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (3.4.9) unstable; urgency=low
+
+  * dh_movefiles: Allow for deeper --sourcedir. Closes: #131363
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 20 Feb 2002 16:37:43 -0500
+
 debhelper (3.4.8) unstable; urgency=low
 
   * Thanks to Benjamin Drieu <benj@debian.org>, dh_installdocs -X now works.
index e558f266bd23f314d2e4d4599db67eb5b1173200..30fde7e2d3071b0dc8b268519caebadaf847da47 100755 (executable)
@@ -27,7 +27,11 @@ If dh_installman seems to install a man page into the wrong section or with
 the wrong extension, this is because the man page has the wrong section
 listed in its .TH line. Edit the man page and correct the section, and
 dh_installman will follow suit.  See to L<man(7)> for details about the .TH
-section.
+section.  If dh_installman seems to install a man page into a directory
+like /usr/share/man/pl/man1/, that is because your program has a
+name like "foo.pl", and dh_installman assumes that means it is translated
+into Polish. There is currently no support for resolving this ambiguity;
+programs in debian should proably not have extensions like that anyway.
 
 Any man page filenames specified as parameters will be installed into the
 first package dh_installman is told to act on. By default, this is the
index cef8910178b0139079c70959c24de52476cce04a..4cde0887faa1c7c594e97ac22c8a67c19dbdcc43 100755 (executable)
@@ -125,7 +125,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        $file=~s:^\Q$sourcedir\E/+::;
                        complex_doit("(cd $sourcedir >/dev/null ; find $file ! -type d -print || true) >> debian/movelist");
                }
-               complex_doit("(cd $sourcedir >/dev/null ; tar --create --remove-files --files-from=../movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)");
+               my $pwd=`pwd`;
+               chomp $pwd;
+               complex_doit("(cd $sourcedir >/dev/null ; tar --create --remove-files --files-from=$pwd/movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)");
                doit("rm","-f","debian/movelist");
        }
 }