From: Michael R. Crusoe Date: Fri, 29 Nov 2024 10:08:50 +0000 (+0100) Subject: d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect Debian Policy... X-Git-Tag: archive/raspbian/3.1+ds1-4+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=74c0b55e1777d050f2a6fb681de8543f5b801f71;p=solvespace.git d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect Debian Policy 4.9.1. --- diff --git a/debian/changelog b/debian/changelog index ba0c9ca..3608c99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +solvespace (3.1+ds1-4) UNRELEASED; urgency=medium + + * Team upload. + * d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect + Debian Policy 4.9.1. + + -- Michael R. Crusoe Fri, 29 Nov 2024 11:08:31 +0100 + solvespace (3.1+ds1-3.1) unstable; urgency=medium * Non-maintainer upload. diff --git a/debian/rules b/debian/rules index be9e87b..eb11e9e 100755 --- a/debian/rules +++ b/debian/rules @@ -31,6 +31,6 @@ override_dh_auto_configure: override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (amd64,$(DEB_HOST_ARCH)) - cd obj-* && $(MAKE) -j$(nproc) test_solvespace + cd obj-* && $(MAKE) $(DEB_BUILD_OPTION_PARALLEL:%=-j%) test_solvespace endif endif