]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
debian: Increase build verbosity, add terse support
authorBastian Germann <bage@debian.org>
Mon, 12 Feb 2024 23:07:55 +0000 (00:07 +0100)
committerCarlos Maiolino <cem@kernel.org>
Fri, 16 Feb 2024 13:47:33 +0000 (14:47 +0100)
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.

Link: https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules
Link: https://bugs.debian.org/1063774
Reported-by: Emanuele Rocca <ema@debian.org>
Signed-off-by: Bastian Germann <bage@debian.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
debian/rules

index 57baad625c55fb1aaa777e1ddcd9662fb51f7ebf..7e4b83e2b07d8042362e978ed46197ece58ccd78 100755 (executable)
@@ -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