diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:50:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:50:38 +0000 |
commit | 62af0cb88424bb2972c9d5099eb29e44ee4b0cd5 (patch) | |
tree | 90924c511d239768ad11d2277eaaabd577f531fe /debian/rules | |
parent | Adding debian version 1.0.9-1. (diff) | |
download | nftables-62af0cb88424bb2972c9d5099eb29e44ee4b0cd5.tar.xz nftables-62af0cb88424bb2972c9d5099eb29e44ee4b0cd5.zip |
Adding debian version 1.0.9-2.debian/1.0.9-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules index e004562..40a4831 100755 --- a/debian/rules +++ b/debian/rules @@ -9,8 +9,20 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/pkg-info.mk -pybuild_pkg := python3-$(PYBUILD_NAME) -pybuild_opts := --buildsystem=pybuild -- --dir $(CURDIR)/py +configure_opts := --with-xtables \ + --with-json \ + --with-python-bin=/usr/bin/python3 \ + --with-cli=editline +pybuild_opts := --buildsystem=pybuild -- --dir $(CURDIR)/py +pybuild_pkg := python3-$(PYBUILD_NAME) + +ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS))) +configure_opts += --disable-silent-rules +pybuild_opts += --verbose +else +configure_opts += --enable-silent-rules +pybuild_opts += --quiet +endif %: dh $@ --with python3 @@ -20,12 +32,7 @@ override_dh_auto_clean: dh_auto_clean -p$(pybuild_pkg) $(pybuild_opts) override_dh_auto_configure: - dh_auto_configure -N$(pybuild_pkg) -- \ - --with-xtables \ - --with-json \ - --with-python-bin=/usr/bin/python3 \ - --with-cli=editline \ - -- + dh_auto_configure -N$(pybuild_pkg) -- $(configure_opts) dh_auto_configure -p$(pybuild_pkg) $(pybuild_opts) override_dh_auto_build: |