From 16afbcbe97a96431bb2257e2f6c49bd43bad1914 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Sat, 21 Nov 2009 00:03:12 -0600 Subject: [PATCH] Clarify rule for debian/rules shebang line Explicitly state that "make -f debian/rules" and "./debian/rules" must behave identically, to prevent confusion, and to promote reproducibility, and conform to the principle of least surprise. Signed-off-by: Ben Finney Signed-off-by: Kurt Roeckx Signed-off-by: Russ Allbery Signed-off-by: Manoj Srivastava --- policy.sgml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/policy.sgml b/policy.sgml index b8b97f4..042e82f 100644 --- a/policy.sgml +++ b/policy.sgml @@ -1725,7 +1725,10 @@

It must start with the line #!/usr/bin/make -f, so that it can be invoked by saying its name rather than - invoking make explicitly. + invoking make explicitly. That is, invoking + either of make -f debian/rules args... + or ./debian/rules args... must result in + identical behavior.

-- 2.39.2