From: Manoj Srivastava Date: Sat, 21 Nov 2009 06:03:12 +0000 (-0600) Subject: Clarify rule for debian/rules shebang line X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=16afbcbe97a96431bb2257e2f6c49bd43bad1914;p=debian%2Fdebian-policy.git 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 --- 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.