Skip to content

Commit

Permalink
dist/debian: drop unused Makefile variable
Browse files Browse the repository at this point in the history
this change was previously reverted by
cbc005c . it turns out this change
was but the offending change. so let's resurrect it.

`job` was introduced back in 782ebce,
so we could consume the option specified in DEB_BUILD_OPTIONS
environmental variable. but now that we always repackage
the artifacts prebuilt in the relocatable package. we don't build
them anymore when packaging debian packages. see
9388f3d . and `job` is not
passed to `ninja` anymore.

so, in this change, `job` is removed from debian/rules as well, as
it is not used.

Signed-off-by: Kefu Chai <[email protected]>

Closes scylladb#12924
  • Loading branch information
tchaikov authored and tgrabiec committed Feb 20, 2023
1 parent 328cdb2 commit adbcc3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dist/debian/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
include /usr/share/dpkg/pkg-info.mk

export PYBUILD_DISABLE=1
jobs := $(shell echo $$DEB_BUILD_OPTIONS | sed -r "s/.*parallel=([0-9]+).*/-j\1/")
ifneq ($(findstring housekeeping, $(DEB_BUILD_OPTIONS)),)
install_arg := --housekeeping
else
Expand Down

0 comments on commit adbcc3d

Please sign in to comment.