From 1cc9ba637854314569edbdaca7cddd9fd691a424 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 29 Feb 2024 22:26:38 +0800 Subject: [PATCH] os: define %ghc_haddocks for %haskell_setup --- macros.ghc-os | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/macros.ghc-os b/macros.ghc-os index 69ddac8..9956a2c 100644 --- a/macros.ghc-os +++ b/macros.ghc-os @@ -4,8 +4,11 @@ %ghc_without_dynamic 1 -# enable library documentation in doc subpkgs +# enable library documentation in doc subpkgs (deprecated) %with_haddock 1 +%ghc_haddocks\ +%bcond haddock 1 + # %%{?_smp_ncpus_max:--jobs=%%{?_smp_ncpus_max}} %ghc_smp_mflags %{?_smp_mflags}