[Plucky/Unstable PATCH 2/2] UBUNTU: [Packaging] remove unneeded prerequisites of $(DEBIAN)/control.stub

Masahiro Yamada masahiro.yamada at canonical.com
Wed Nov 20 02:21:55 UTC 2024


$(DEBIAN)/control.stub is marked as .PHONY.

There is no need to specify version-controlled files as prerequisites
for a phony target since they already exist.

Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>
---

 debian/rules | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 600e7bab2150..d1a6c2a78521 100755
--- a/debian/rules
+++ b/debian/rules
@@ -180,13 +180,7 @@ UBUNTU_COMPATIBLE_SIGNING=$(shell grep -qx ' *Subject: C = GB, ST = Isle of Man,
 
 # Misc stuff
 .PHONY: $(DEBIAN)/control.stub
-$(DEBIAN)/control.stub: 				\
-		debian/scripts/control-create		\
-		$(control_files)			\
-		debian/canonical-revoked-certs.pem	\
-		debian/control.d/flavour-module.stub	\
-		$(DEBIAN)/changelog			\
-		$(wildcard $(DEBIAN)/control.d/*)
+$(DEBIAN)/control.stub: debian/canonical-revoked-certs.pem
 	for i in $(control_files); do                                           \
 	  cat $$i;                                                              \
 	  echo "";                                                              \
-- 
2.43.0




More information about the kernel-team mailing list