Skip to contentSkip to conversation

debian: Increase build verbosity, add terse support

PATCH In review Bastian Germann 2 participants 2 messages Feb 12, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): Zco4xFPmGJQshw7n@ariel

#1 lore raw

PATCH 1/1 debian: Increase build verbosity, add terse support

Section 4.9 of the Debian Policy reads:

"The package build should be as verbose as reasonably possible, except where the terse tag is included in DEB_BUILD_OPTIONS".

Implement such behavior for xfsprogs by passing V=1 to make by default.

---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)
debian/rules +4 -0
index 57baad62..7e4b83e2 100755
@@ -7,6 +7,10 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     PMAKEFLAGS += -j$(NUMJOBS)
 endif
 
+ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
+    PMAKEFLAGS += V=1
+endif
+
 package = xfsprogs
 develop = xfslibs-dev
 bootpkg = xfsprogs-udeb
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#2 lore raw
Quoted 11 lines · Bastian Germann

Section 4.9 of the Debian Policy reads:

"The package build should be as verbose as reasonably possible, except where the terse tag is included in DEB_BUILD_OPTIONS".

Implement such behavior for xfsprogs by passing V=1 to make by default.

Sounds good to me!

--D

Quoted 23 lines
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)
debian/rules +4 -0
index 57baad62..7e4b83e2 100755
@@ -7,6 +7,10 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     PMAKEFLAGS += -j$(NUMJOBS)
 endif
 
+ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
+    PMAKEFLAGS += V=1
+endif
+
 package = xfsprogs
 develop = xfslibs-dev
 bootpkg = xfsprogs-udeb
Signature · 1 line
2.43.0