From b82b10135e793323db8282f9863cb74aed8842c2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 2 Feb 2019 01:15:55 +0800 Subject: [PATCH] use haddock --hyperlink-source unconditionally --- macros.ghc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.ghc b/macros.ghc index 5375a0f..5d77bee 100644 --- a/macros.ghc +++ b/macros.ghc @@ -143,7 +143,7 @@ licensedirversion=%{?2:-%2}\ %define pkgname %{?1}%{!?1:%{pkg_name}}\ %define pkgver %{?2}%{!?2:%{version}}\ if [ -n dist/build/libHS%{pkgname}-%{pkgver}*.so ]; then\ -%cabal haddock --html %{!?without_hscolour:%(if [ -x %{_bindir}/HsColour ]; then echo --hyperlink-source; fi)} --hoogle %{?cabal_haddock_options}\ +%cabal haddock --html --hyperlink-source --hoogle %{?cabal_haddock_options}\ fi\ %endif\ %{nil}