[Git][haskell-team/DHG_packages][master] ghc: Pass --list-missing to dh_missing

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Fri Mar 13 21:40:48 GMT 2026



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
327cfe31 by Ilias Tsitsimpis at 2026-03-13T23:38:05+02:00
ghc: Pass --list-missing to dh_missing

- - - - -


1 changed file:

- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/rules
=====================================
@@ -346,26 +346,25 @@ FILES = \( -type f -o -type l \)
 PROF_FILE = \( -name "*.p_*" -o -name "lib*_p.a" \)
 
 override_dh_auto_install-arch: debian/tmp
-	# Manpages
-ifeq (NO,$(BUILD_CROSS))
-	find debian/tmp/usr/share/man $(FILES)           >> debian/ghc.install
-endif
 	# ghc
-	find debian/tmp/usr/bin $(FILES)                 >> debian/ghc.install
-#	find debian/tmp/usr/share/ghc* $(FILES)          >> debian/ghc.install
+	find debian/tmp/usr/bin $(FILES)                 > debian/ghc.install
 	find debian/tmp/usr/lib/ghc $(FILES) ! $(PROF_FILE) >> debian/ghc.install
 	find debian/tmp/var				 >> debian/ghc.install
 	echo debian/tmp/usr/share/lintian/overrides/ghc >> debian/ghc.install
 	# ghc-prof
 	find debian/tmp/usr/lib/ghc $(FILES) $(PROF_FILE) > debian/ghc-prof.install
 	echo debian/tmp/usr/share/lintian/overrides/ghc-prof >> debian/ghc-prof.install
+	# Manpages
+ifeq (NO,$(BUILD_CROSS))
+	find debian/tmp/usr/share/man $(FILES)           >> debian/ghc.install
+endif
 	# Normalize paths
 	sed -i s,^debian/tmp,, debian/*.install debian/*.links
 
 override_dh_auto_install-indep: debian/tmp
 	# ghc-doc
 	find debian/tmp/usr/share/doc/ghc-doc/html/libraries/*/ -name "*.txt" \
-		-printf "%p $(DEB_HOOGLE_TXT_DIR)/%f\n" >> debian/ghc-doc.links
+		-printf "%p $(DEB_HOOGLE_TXT_DIR)/%f\n" > debian/ghc-doc.links
 	find debian/tmp/usr/share/doc/ghc-doc/html $(FILES) > debian/ghc-doc.install
 	find debian/tmp/usr/lib/ghc-doc $(FILES)      >> debian/ghc-doc.install
 	echo debian/tmp/usr/share/doc/ghc-doc/index.html >> debian/ghc-doc.install
@@ -418,6 +417,12 @@ endif
 override_dh_compress:
 	dh_compress -X.haddock -X.txt
 
+override_dh_missing:
+	# In compat 13 and later, --fail-missing is the default.
+	# This causes build to fail if we are building a subset of the packages
+	# (e.g., only the doc package) as file are left behind
+	dh_missing --list-missing
+
 override_dh_gencontrol:
 ifeq (NO,$(BUILD_CROSS))
 	# Generate substvars



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/327cfe318793fef6fee3e73279b0922c365b119b

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/327cfe318793fef6fee3e73279b0922c365b119b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20260313/5dfdf432/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list