Bug#823689: hlibrary.mk: libghc-*-doc.links files not respected
Sean Whitton
spwhitton at spwhitton.name
Tue May 10 00:23:42 UTC 2016
control: tag -1 +patch
Hello,
On Mon, May 09, 2016 at 04:59:33PM +0200, Joachim Breitner wrote:
> it runs
> run rm -f debian/libghc-${CABAL_PACKAGE}-doc.links debian/libghcjs-${CABAL_PACKAGE}-doc.links
> which in clean, which explains the problem, and writes to the file in
> the install target for the -dev package.
>
> if [ "${DEB_ENABLE_HOOGLE}" = "yes" ]
> then
> run find debian/${PKG}/${htmldir} -name "*.txt" \
> -printf "%p ${hoogle}/${PKG}.txt\n" >> debian/lib${hc}-${CABAL_PACKAGE}-doc.links
> run sed -i s,^debian/lib${hc}-${CABAL_PACKAGE}-doc,, debian/lib${hc}-${CABAL_PACKAGE}-doc.links
> fi
>
> What is a saner way of doing this? Calling dh_link directly with all
> required links as arguments?
Thanks for tracking this down. The attached patch seems to work (I've
tested it with my propellor package).
--
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Respect-the-user-s-debian-libghc-doc.links.patch
Type: text/x-diff
Size: 2436 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160509/132aa825/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160509/132aa825/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list