diff mbox series

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

Message ID 20241120021205.1590999-3-masahiro.yamada@canonical.com
State New
Headers show
Series Avoid arch-dependent source package (step 1) | expand

Commit Message

Masahiro Yamada Nov. 20, 2024, 2:11 a.m. UTC
$(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@canonical.com>
---

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

Patch

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 "";                                                              \