summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2024-01-18 00:06:25 +0000
committerSimon McVittie <smcv@debian.org>2024-01-18 00:06:25 +0000
commitdfa84b384a9c9fbbff0aba7b089d5c8d0d6e24f4 (patch)
tree2ec4fbfcfb269d985552ccaef5dd268d1ea46517
parent85302b83b95045660a129c6c1e2329acead06822 (diff)
d/control: Don't produce pango1.0-tools during cross-builds
The man page is generated with help2man, so it's skipped when cross-building. This means the pango1.0-tools package would be incomplete if we are cross-building, unless we are under the nodoc build profile, in which case we explicitly don't mind omitting man pages. In practice the only package in Debian main that depends on pango1.0-tools is libpango1.0-dev, and a build-architecture copy of pango1.0-tools is adequate for that purpose, so not building it is unlikely to be particularly harmful.
-rw-r--r--debian/control2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 76ec04cc..c0d16a4d 100644
--- a/debian/control
+++ b/debian/control
@@ -261,7 +261,9 @@ Description: Layout and rendering of internationalized text - installed tests
This package contains test programs, designed to be run as part of a
regression testsuite.
+# built if: nodoc || !cross
Package: pango1.0-tools
+Build-Profiles: <nodoc> <!cross>
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}