From 6d5b6d03595796fac6d0aec608e985aa620354ff Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:55:44 +0200 Subject: Adding debian version 115.8.0esr-1. Signed-off-by: Daniel Baumann --- debian/dh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 debian/dh (limited to 'debian/dh') diff --git a/debian/dh b/debian/dh new file mode 100755 index 0000000000..5b43536dd4 --- /dev/null +++ b/debian/dh @@ -0,0 +1,25 @@ +#!/bin/sh + +# Wrapper around dh to enable parallelism in debian/rules if not already +# enabled. + +case "$MAKEFLAGS" in +*-j*) + # Already enabled, do nothing. + ;; +*) + parallel= + for opt in "$DEB_BUILD_OPTIONS"; do + case "$opt" in + parallel=*) + parallel=${opt#parallel=} + ;; + esac + done + if [ -n "$parallel" ]; then + export MAKEFLAGS="-j$parallel${MAKEFLAGS:+ $MAKEFLAGS}" + fi + ;; +esac + +exec dh "$@" -- cgit v1.2.3