Jose M Calhariz <jose.calha...@tecnico.ulisboa.pt> wrote: > I am changing the rules of the package amanda to debhelper 9 and I am > stopped in a problem with dh_installman. I have checked what I know > and everything is correct. But still I think that is something > obvious that I am missing. Possibly the manpages have an error in > nroff code.
> The tail of the debuild is: > dh_installman > install -d debian/amanda-server/usr/share/man/man1/ > install -p -m0644 debian/activate-devpay.1 > debian/amanda-server/usr/share/man/man1/activate-devpay.1 > usr/share/man/man8/amadmin.8: No such file or directory at > /usr/bin/dh_installman line 131. [...] > https://anonscm.debian.org/git/collab-maint/amanda.git [...] Hello, (sid)ametzler@argenau:/tmp/FLANN/amanda-3.3.9$ find -name amadmin.8 ./man/amadmin.8 ./debian/tmp/usr/share/man/man8/amadmin.8 If you want to install this manpage with dh_installman you'll need to list debian/tmp/usr/share/man/man8/amadmin.8 instead of usr/share/man/man8/amadmin.8 in debian/amanda-server.manpages. dh_installman does not search below debian/tmp as dh_install does. In my personal experience it is mainly useful for manpages which are not installed by "make install", e.g. Debian provided manpages in debian/. I would suggest to install manpages which are handled by "make install" with dh_install instead. BTW I think you are missing --- a/debian/rules +++ b/debian/rules @@ -36,7 +36,7 @@ confflags = --prefix=/usr \ --enable-s3-device %: - dh $@ --parallel + dh $@ --with autoreconf --parallel override_dh_auto_configure: dh_auto_configure -- $(confflags) hth, cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'