]> git.donarmstrong.com Git - debhelper.git/commit
Bug#545676: dh_installdocs: option to link documentation directories
authorColin Watson <cjwatson@debian.org>
Tue, 8 Sep 2009 11:17:02 +0000 (12:17 +0100)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 8 Sep 2009 21:52:20 +0000 (17:52 -0400)
commit7e3a133029e9cbb6fb133c7074ad1bb53a5947e9
tree0cc137aeccf244d95783338f9667f96266b1d27a
parent9ea927f370855991287d2ef6383cfbaafbdc830e
Bug#545676: dh_installdocs: option to link documentation directories

As discussed by e-mail, dh_installdocs could do with an option to make
the documentation directory a symlink, to clean up dh-using packages
that otherwise need to use override targets to arrange for dh_link to
run before dh_installdocs.

This turns out to be slightly involved due to the need to handle the
case where you want to do this *and* also install some extra
documentation in the symlink target, while also making a dangling
symlink and avoiding file conflicts in the simple case, so I had to
change dh_installchangelogs as well. I think this is right now; tested
on debconf ('dh_installdocs -Ndebconf-doc --link-doc=debconf;
dh_installdocs -pdebconf-doc') and groff ('dh_installdocs
--link-doc=groff-base').
dh_installchangelogs
dh_installdocs