]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
distro/deb: remove redundant and move exclude from general to specific command
authorDaniel Salzman <daniel.salzman@nic.cz>
Thu, 14 Sep 2023 10:38:22 +0000 (12:38 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Thu, 14 Sep 2023 10:45:43 +0000 (12:45 +0200)
distro/pkg/deb/rules

index 82cc34b9938aaa5ee65be1435a13b280a2434fb1..c5c81d0fbe6ae7da1583471fc783d38294693c3d 100755 (executable)
@@ -36,11 +36,9 @@ BASE_VERSION := $(shell echo $(DEB_VERSION) | sed 's/^\([^.]\+\.[^.]\+\).*/\1/')
 # invocation due to bug in dh-python's plugin_pyproject.py wheel unpack
 export PYBUILD_SYSTEM = distutils
 
-
 %:
        dh $@ \
-        --exclude=.la --exclude=example.com.zone \
-        --with python3
+         --with python3
 
 override_dh_auto_configure:
        dh_auto_configure -- \
@@ -95,7 +93,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 endif
 
 override_dh_missing:
-       dh_missing --fail-missing
+       dh_missing --exclude=.la --fail-missing
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS