Skip to content
Snippets Groups Projects
Commit 57fe7663 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

Fix bug in install_doc_recipe() causing builds to fail

parent 688edbab
No related branches found
No related tags found
No related merge requests found
......@@ -642,10 +642,12 @@ install_doc_recipe(){
# either libghc-*-dev or all the binary packages, neither of
# which is desirable (see dh_link (1)). So we just create a
# (policy-compliant) symlink ourselves
source=`find debian/${PKG}/${htmldir} -name "*.txt"`
source="debian/${PKG}/${htmldir}/${CABAL_PACKAGE}.txt"
dest=debian/${PKG}${hoogle}${PKG}.txt
run mkdir -p `dirname $dest`
run ln -rs -T $source $dest
if [ -f ${source} ]; then
run mkdir -p `dirname $dest`
run ln -rs -T $source $dest
fi
fi
run dh_haskell_depends -p${PKG}
# PS4=$PS5
......
haskell-devscripts (0.15.3) unstable; urgency=medium
* Fix bug in install_doc_recipe() which wrongly assumed that
${CABAL_PACKAGE}.txt was the only txt file generated by haddock
(Closes: #952617).
-- Ilias Tsitsimpis <iliastsi@debian.org> Wed, 26 Feb 2020 20:38:16 +0200
haskell-devscripts (0.15.2) unstable; urgency=medium
* Ensure build fails when dh_haskell_{depends,provides} fail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment