Package: debhelper
Version: 5.0.42
Severity: wishlist

Hello,

in the latest gnutls-doc upload I wanted to symlink
/usr/share/doc/gnutls-doc/html/*.png to /usr/share/info/ since the
image files are refenced from both the html and the info version of
the docs. However dh_link does not seem to support this yet. Afaict I
would need to specify every single file separately.

dh_link: link destination debian/gnutls-doc/usr/share/info/ is a directory

as a hotfix I am now manually generating the symlinks and then use
dh_link to make sure that the links are policy compliant.

+       cd debian/gnutls-doc && \
+       for i in usr/share/doc/gnutls-doc/html/gnutls*.png ; do \
+               i=`basename "$$i"` ; \
+               ln -s "/usr/share/doc/gnutls-doc/html/$$i" \
+                       usr/share/info/ ; \
+       done && \
+       cd ../.. && \
+       dh_link -pgnutls-doc

thanks, 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'


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to