From 60dc01b0df75a500789046a96cb92aaeb27955bf Mon Sep 17 00:00:00 2001 From: Scott Talbert <swt@techie.net> Date: Mon, 23 May 2022 15:51:15 -0400 Subject: [PATCH] Perform haddock recipe before build recipe (Closes: #1010739) Evidently, haddock wipes out some of the files created by the build recipe (specifically at least the in-place registration files in dist-ghc/package.conf.inplace), so move it before build. --- hlibrary.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlibrary.mk b/hlibrary.mk index 38682a2..c42d341 100644 --- a/hlibrary.mk +++ b/hlibrary.mk @@ -151,7 +151,7 @@ $(DEB_SETUP_BIN_NAME): build-ghc-stamp: $(DEB_SETUP_BIN_NAME) perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \ - -E 'configure_recipe; build_recipe; haddock_recipe; check_recipe' + -E 'configure_recipe; haddock_recipe; build_recipe; check_recipe' touch $@ build/%-dev build/%-prof build/%-doc:: build-ghc-stamp -- GitLab