1
0
Fork 0
firefox/debian/dh
Daniel Baumann 8baeab6532
Adding debian version 140.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:41:39 +02:00

25 lines
469 B
Bash
Executable file

#!/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 "$@"